remove debugs;use -O2
This commit is contained in:
parent
b13059fca1
commit
c7ac6c6c9d
|
@ -1117,7 +1117,7 @@ void VSTree::retrieveEntity(const EntityBitSet& _entity_bit_set, IDList* _p_id_l
|
|||
}
|
||||
}
|
||||
}
|
||||
cerr << "child num: " << childNum << " valid num: " << valid << endl;
|
||||
//cerr << "child num: " << childNum << " valid num: " << valid << endl;
|
||||
}
|
||||
Util::logging("OUT retrieveEntity");
|
||||
}
|
||||
|
|
7
makefile
7
makefile
|
@ -14,8 +14,8 @@ CC = g++
|
|||
#NOTICE: -O2 is recommended, while -O3 is dangerous
|
||||
#when developing, not use -O because it will disturb the normal
|
||||
#routine. use it for test and release.
|
||||
CFLAGS = -c -g -Wall -O2
|
||||
EXEFLAG = -g -O2
|
||||
CFLAGS = -c -Wall -O2
|
||||
EXEFLAG = -O2
|
||||
|
||||
# paths
|
||||
|
||||
|
@ -62,6 +62,9 @@ library = -ltermcap -lreadline -L./lib -lantlr
|
|||
#gtest
|
||||
all: $(exedir)gload $(exedir)gserver $(exedir)gclient $(exedir)gquery $(exedir)gconsole $(api_java)
|
||||
|
||||
test_index:
|
||||
$(CC) $(EXEFLAG) -o test_index test_index.cpp $(objfile) $(library)
|
||||
|
||||
#executables begin
|
||||
|
||||
#NOTICE:not include g*.o in objfile due to multiple definitions of main()
|
||||
|
|
Loading…
Reference in New Issue