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

Re: svn commit: r26474 - trunk/subversion/libsvn_wc

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-09-06 10:00:51 CEST

On Wed, Sep 05, 2007 at 05:03:20PM -0700, Daniel Rall wrote:
> > Could we use -Wunused gcc flags to prevent this? I've always wondered
> > why Subversion's build system doesn't. Or are those kind of semantic
> > checks time-expensive for the compiler?
>
> My version of gcc warns automatically, so long as the source file
> doesn't need to be recompiled. I'm assuming that Ben's does the same
> -- it's easy to miss these warnings in the long, scrolling output.

'make -s' is your friend. I also usually compile with
EXTRA_CFLAGS='-Wall -Werror'.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Thu Sep 6 09:57:45 2007

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