[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14749: Make 0.2.0 branch build cleanly with --enable-gcc-warnings a (tor/branches/tor-0_2_0-patches)
Author: nickm
Date: 2008-05-27 16:01:07 -0400 (Tue, 27 May 2008)
New Revision: 14749
Modified:
tor/branches/tor-0_2_0-patches/ChangeLog
tor/branches/tor-0_2_0-patches/configure.in
Log:
Make 0.2.0 branch build cleanly with --enable-gcc-warnings and gcc 4.3
Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog 2008-05-27 18:58:05 UTC (rev 14748)
+++ tor/branches/tor-0_2_0-patches/ChangeLog 2008-05-27 20:01:07 UTC (rev 14749)
@@ -5,6 +5,7 @@
o Minor features (build):
- Add support to detect Libevent versions in the 1.4.x series on mingw.
+ - Fix build on gcc 4.3 with --enable-gcc-warnings set.
Changes in version 0.2.0.26-rc - 2008-05-13
Modified: tor/branches/tor-0_2_0-patches/configure.in
===================================================================
--- tor/branches/tor-0_2_0-patches/configure.in 2008-05-27 18:58:05 UTC (rev 14748)
+++ tor/branches/tor-0_2_0-patches/configure.in 2008-05-27 20:01:07 UTC (rev 14749)
@@ -748,7 +748,8 @@
# These warnings break gcc 4.0.2 and work on gcc 4.2
# XXXX020 Use -fstack-protector.
# XXXX020 See if any of these work with earlier versions.
- CFLAGS="$CFLAGS -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=5"
+ CFLAGS="$CFLAGS -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1"
+ # We used to use -Wstrict-overflow=5, but that breaks us heavily under 4.3.
fi
if test x$have_shorten64_flag = xyes ; then