mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Increase warning level
Both under gcc and icc: sf compiles with no warnings ! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
46c16ab783
commit
247c2cd207
1 changed files with 5 additions and 1 deletions
|
@ -219,7 +219,11 @@ ifeq ($(COMP),icc)
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue