[cig-commits] commit: Enabling some embarrassing warning flags. -Wno-write-strings is turned on because the StGermain API produces many warnings
Mercurial
hg at geodynamics.org
Mon Feb 1 15:29:59 PST 2010
changeset: 208:a2f5d1e657b5
user: JulianGiordani
date: Tue Dec 15 16:35:07 2009 +1100
files: SConfigure
description:
Enabling some embarrassing warning flags. -Wno-write-strings is turned on because the StGermain API produces many warnings
diff -r e972cb1a7e68 -r a2f5d1e657b5 SConfigure
--- a/SConfigure Fri Dec 11 18:02:16 2009 +1100
+++ b/SConfigure Tue Dec 15 16:35:07 2009 +1100
@@ -160,6 +160,10 @@ 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')
+
+
#
# Export the environment.
#
More information about the CIG-COMMITS
mailing list