[cig-commits] commit: Disabling the -Wno-write-strings flag as the
Mercurial
hg at geodynamics.org
Mon Feb 1 15:30:22 PST 2010
changeset: 227:cc17de5a0c9f
user: JericoRevote
date: Wed Jan 06 13:03:37 2010 +1100
files: SConfigure
description:
Disabling the -Wno-write-strings flag as the
'const char*' compile-warnings in the meta-files should be now
with the update convert.py script.
diff -r 55ab7156afff -r cc17de5a0c9f SConfigure
--- a/SConfigure Wed Jan 06 12:58:39 2010 +1100
+++ b/SConfigure Wed Jan 06 13:03:37 2010 +1100
@@ -160,8 +160,8 @@ if not (GetOption('help') or GetOption('
env.ConfigurePackage(packages.PETSc)
env.ConfigurePackage(packages.PETScExt, required=False)
- # enable all warning except -Wwrite-strings. StGermain API needs modifying.
- env.MergeFlags('-Wall -Wno-write-strings')
+ # enable all warnings.
+ env.MergeFlags('-Wall')
if env.get('CC', None) == 'icc':
env.MergeFlags('-wd869 -wd1419')
More information about the CIG-COMMITS
mailing list