diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 04:30:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 05:01:17 -0400 |
commit | d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f (patch) | |
tree | b8d7e78c0f2fc64bd74f3b82cfe0a687a3c242a2 | |
parent | 34c30fc25cf7ce265b6c5dbc14b376f2232eabc6 (diff) | |
download | fork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.tar.gz fork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.tar.bz2 fork-ledger-d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f.zip |
Added more warning options if acprep --warn is used
-rwxr-xr-x | acprep | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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') |