commit | a44cffb342d3ff239b61f61257793488e249ac3d | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Wed May 09 19:35:15 2007 +0000 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Wed May 09 19:35:15 2007 +0000 |
tree | 66987a5a1a724282be00433ec9d507450a6820a0 | |
parent | 842d64e8d7a16ed4ee4e9c9e52850e54fae759a4 [diff] [blame] |
Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not).
diff --git a/SConstruct b/SConstruct index e820659..b4cba59 100644 --- a/SConstruct +++ b/SConstruct
@@ -76,7 +76,7 @@ env.Append( CPPDEFINES=[ "WIN32", "NDEBUG", "_MT" ] ) elif platform == 'linux-gcc': env.Tool( 'default' ) - env.Append( LIBS = ['pthread'] ) + env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" ) else: print "UNSUPPORTED PLATFORM." env.Exit(1)