From d258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:30:55 -0400 Subject: Added more warning options if acprep --warn is used --- acprep | 3 +++ 1 file changed, 3 insertions(+) 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') -- cgit v1.2.3