[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:   228:18e5a687ebdc
branch:      1.4.x
parent:      225:b43f64c3123f
user:        JericoRevote
date:        Wed Jan 06 13:04:32 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 b43f64c3123f -r 18e5a687ebdc SConfigure
--- a/SConfigure	Wed Jan 06 12:57:43 2010 +1100
+++ b/SConfigure	Wed Jan 06 13:04:32 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