summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 04:30:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 05:01:17 -0400
commitd258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f (patch)
treeb8d7e78c0f2fc64bd74f3b82cfe0a687a3c242a2
parent34c30fc25cf7ce265b6c5dbc14b376f2232eabc6 (diff)
downloadfork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.tar.gz
fork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.tar.bz2
fork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.zip
Added more warning options if acprep --warn is used
-rwxr-xr-xacprep3
1 files changed, 3 insertions, 0 deletions
diff --git a/acprep b/acprep
index 8001bdbe..9a3f2a7f 100755
--- a/acprep
+++ b/acprep
@@ -869,6 +869,8 @@ class PrepareBuild(CommandLineApp):
def option_warn(self, option=None, opt_str=None, value=None, parser=None):
self.log.debug('Saw option --warn')
self.CXXFLAGS.append('-ansi')
+ self.CXXFLAGS.append('-pedantic')
+ self.CXXFLAGS.append('-pedantic-errors')
self.CXXFLAGS.append('-Wall')
self.CXXFLAGS.append('-Winvalid-pch')
self.CXXFLAGS.append('-Wextra')
@@ -884,6 +886,7 @@ class PrepareBuild(CommandLineApp):
self.CXXFLAGS.append('-Wwrite-strings')
self.CXXFLAGS.append('-Wno-old-style-cast')
self.CXXFLAGS.append('-Wno-deprecated')
+ self.CXXFLAGS.append('-Werror')
def option_boost(self, option=None, opt_str=None, value=None, parser=None):
self.log.debug('Saw option --boost')