summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
46c16ab)
Both under gcc and icc: sf compiles with no warnings !
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
endif
### 3.2 General compiler settings
endif
### 3.2 General compiler settings
-CXXFLAGS = -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
+CXXFLAGS = -g -Wall -Wcast-qual -ansi -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
+
+ifeq ($(comp),gcc)
+ CXXFLAGS += -pedantic -Wno-long-long -Wextra
+endif
ifeq ($(comp),icc)
CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
ifeq ($(comp),icc)
CXXFLAGS += -wd383,869,981,10187,10188,11505,11503