diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-05-27 20:01:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-05-27 20:01:07 +0000 |
commit | a8682315847df60fab6dc477d097358195c5d674 (patch) | |
tree | 48d124ea1bba021b1ad09e149f9081ab4bbc0cb1 | |
parent | ef28919ff07f89a30c5237a732324bdc13801255 (diff) | |
download | tor-a8682315847df60fab6dc477d097358195c5d674.tar.gz tor-a8682315847df60fab6dc477d097358195c5d674.zip |
Make 0.2.0 branch build cleanly with --enable-gcc-warnings and gcc 4.3
svn:r14749
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,7 @@ Changes in version 0.2.0.27-rc - 2008-05-?? 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 diff --git a/configure.in b/configure.in index 0ca5666ae3..733e44798e 100644 --- a/configure.in +++ b/configure.in @@ -748,7 +748,8 @@ if test x$enable_gcc_warnings = xyes; then # 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 |