- Compile library with -Weffc++ and -pedantic (gcc)
- Fix most issues raised by using -Weffc++ (initialization lists) git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@494 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
794fd6ba56
commit
39ea27e017
5 changed files with 28 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
OBJ = Singleton.o SmallObj.o OrderedStatic.o SafeFormat.o
|
||||
BIN = ../lib/libloki.a
|
||||
CXXFLAGS = -Wall -O2
|
||||
CXXFLAGS = -Wall -Weffc++ -pedantic -O2
|
||||
CPPFLAGS = -I../include -DNDEBUG
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue