diff options
author | Vincent Richard <[email protected]> | 2005-02-10 20:20:17 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-02-10 20:20:17 +0000 |
commit | 42163d53430d03c7970b737d8c0455cb3aa3662c (patch) | |
tree | 00c005d235a3bc9b13a5498fd920111c04c26ccd | |
parent | Changed protected inheritance to simple composition. (diff) | |
download | vmime-42163d53430d03c7970b737d8c0455cb3aa3662c.tar.gz vmime-42163d53430d03c7970b737d8c0455cb3aa3662c.zip |
Added '-Wconversion' for GCC.
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -515,6 +515,7 @@ env.Append(CXXFLAGS = ['-ansi']) env.Append(CXXFLAGS = ['-pedantic']) env.Append(CXXFLAGS = ['-Wpointer-arith']) env.Append(CXXFLAGS = ['-Wold-style-cast']) +env.Append(CXXFLAGS = ['-Wconversion']) env.Append(TARFLAGS = ['-c']) env.Append(TARFLAGS = ['--bzip2']) @@ -1453,7 +1454,7 @@ fi """) - compilerFlags = [ '-pipe', '-ansi', '-pedantic', '-W', '-Wall' ] + compilerFlags = [ '-pipe', '-ansi', '-pedantic', '-W', '-Wall', '-Wpointer-arith', '-Wold-style-cast', '-Wconversion' ] for f in compilerFlags: configure_in.write('# ' + f + '\n') |