aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-02-10 20:20:17 +0000
committerVincent Richard <[email protected]>2005-02-10 20:20:17 +0000
commit42163d53430d03c7970b737d8c0455cb3aa3662c (patch)
tree00c005d235a3bc9b13a5498fd920111c04c26ccd
parentChanged protected inheritance to simple composition. (diff)
downloadvmime-42163d53430d03c7970b737d8c0455cb3aa3662c.tar.gz
vmime-42163d53430d03c7970b737d8c0455cb3aa3662c.zip
Added '-Wconversion' for GCC.
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 43a1551f..3a40bc04 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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')