diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 17:49:59 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 17:49:59 +0000 |
commit | 4a0cba066a6021188a8c8c3b8b00d5b6e3ae67fc (patch) | |
tree | 73b10da0cb64b46cc16c63fa8ee0c6289727dd33 /wiretap/Makefile.am | |
parent | cdb7df3c8a5c0b1283137597e16245dcb68e4244 (diff) |
From Sebastien Tandel:
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)
Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21153 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/Makefile.am')
-rw-r--r-- | wiretap/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am index f68b6f4470..3f985cf622 100644 --- a/wiretap/Makefile.am +++ b/wiretap/Makefile.am @@ -25,7 +25,7 @@ ACLOCAL_AMFLAGS = `../aclocal-flags` include Makefile.common -if USING_GCC +if HAVE_WARNINGS_AS_ERRORS AM_CFLAGS = -Werror endif |