[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r34281 - trunk

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 20 Nov 2008 07:02:18 -0800

Excellent. Thanks for the tweak!

On Thu, Nov 20, 2008 at 04:22, <stsp_at_tigris.org> wrote:
> Author: stsp
> Date: Thu Nov 20 04:22:19 2008
> New Revision: 34281
>
> Log:
> Followup to r34280: Unbreak build for gcc-3.3.5.
>
> * configure.ac
> (CFLAGS): Make -Wold-style-definition an optional warning.
>
> Modified:
> trunk/configure.ac
>
> Modified: trunk/configure.ac
> URL: http://svn.collab.net/viewvc/svn/trunk/configure.ac?pathrev=34281&r1=34280&r2=34281
> ==============================================================================
> --- trunk/configure.ac Wed Nov 19 23:22:24 2008 (r34280)
> +++ trunk/configure.ac Thu Nov 20 04:22:19 2008 (r34281)
> @@ -715,7 +715,7 @@ AS_HELP_STRING([--enable-maintainer-mode
> enable_debugging=yes
> if test "$GCC" = "yes"; then
> AC_MSG_NOTICE([maintainer-mode: adding GCC warning flags])
> - CFLAGS="$CFLAGS -Wpointer-arith -Wwrite-strings -Wshadow -ansi -std=c99 -Wall -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wno-long-long"
> + CFLAGS="$CFLAGS -Wpointer-arith -Wwrite-strings -Wshadow -ansi -std=c99 -Wall -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wno-long-long"
> CXXFLAGS="$CXXFLAGS -Wpointer-arith -Wwrite-strings -Wshadow"
>
> dnl some additional flags that can be handy for an occasional review,
> @@ -736,6 +736,9 @@ AS_HELP_STRING([--enable-maintainer-mode
> CFLAGS="$CFLAGS_KEEP -Wshorten-64-to-32"
> AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], [CFLAGS_KEEP="$CFLAGS"])
>
> + CFLAGS="$CFLAGS_KEEP -Wold-style-definition"
> + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], [CFLAGS_KEEP="$CFLAGS"])
> +
> AC_LANG_POP([C])
> CFLAGS="$CFLAGS_KEEP"
> fi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-20 16:02:33 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.