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

Re: svn commit: rev 5816 - in trunk/subversion: libsvn_client libsvn_wc

From: <kfogel_at_collab.net>
Date: 2003-05-06 18:01:02 CEST

Garrett Rooney <rooneg@electricjellyfish.net> writes:
> Apparently I managed to get a Makefile with no -W's in my CFLAGS
> (configured without --enable-maintainer-mode I guess). Actually, now
> that I've reconfigured with --enable-maintainer-mode, it got me
> -Wpointer-arith, -Wwrite-strings, and -Wshadow, but that's it. Still
> doesn't seem to be producing warnings for unused variables, which is
> annoying. I've added in -Wall and -Werror manually, just in case, but
> didn't we used to have more warnings turned on if we detected that we
> were compiling under GCC?

Yes, I thought we did too. My Makefile is always produced by:

   ./configure --enable-maintainer-mode \
               --with-apr=/usr/local/apache2 \
               --with-aprutil=/usr/local/apache2

and it contains

   CFLAGS = -g -Wall -Wmissing-prototypes -Wstrict-prototypes \
            -Wmissing-declarations -pthread -DNEON_ZLIB -std=c89 \
            -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG \
            -DAP_DEBUG $(EXTRA_CFLAGS)

:-( I have no idea why your Makefile's CFLAGS are different.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 6 18:42:51 2003

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.