diff options
author | Max Horn | 2003-05-25 16:09:26 +0000 |
---|---|---|
committer | Max Horn | 2003-05-25 16:09:26 +0000 |
commit | cd1493447dc02baa3148ff412f070e6e65e6161d (patch) | |
tree | 3fd713c3d5f06c50046a9653611bcbebe90f210f | |
parent | 11e59488ef4dcdd5931e926e45fcaaec4624793f (diff) | |
download | scummvm-rg350-cd1493447dc02baa3148ff412f070e6e65e6161d.tar.gz scummvm-rg350-cd1493447dc02baa3148ff412f070e6e65e6161d.tar.bz2 scummvm-rg350-cd1493447dc02baa3148ff412f070e6e65e6161d.zip |
Some additional warnings
svn-id: r7960
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -17,13 +17,18 @@ CP := cp # Default compilation parameters. Normally don't edit these # ####################################################################### -CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas +CXXFLAGS:= -g -O DEFINES := LDFLAGS := INCLUDES:= -I. -Icommon LIBS := OBJS := +# Turn on useful warnings +CXXFLAGS+= -Wall -W -pedantic -ansi -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion +CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized +CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-unused-parameter -Wno-reorder + # Load the build rules & settings for the chosen backend -include build.rules @@ -43,8 +48,8 @@ LIBS += -lmad # DEFINES += -DUSE_ALSA # LIBS += -lasound -# Uncomment this for stricter compile time code verification -# CXXFLAGS+= -Wshadow -Werror +# Uncomment this to cause warnings to be treated as errors +# CXXFLAGS+= -Werror ####################################################################### |