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

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

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-11-04 22:59:26 CET

Garrett Rooney wrote:
> On 11/4/05, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
>
>> On Thu, Nov 03, 2005 at 10:09:46AM -0800, Daniel Rall wrote:
>>
>>> A "best practice" which maxb suggested to me that helps with that is
>>> to put the following into your shell's ~/.profile (or equivalent):
>>>
>>> EXTRA_CFLAGS='-Wall -Werror'
>>> export EXTRA_CFLAGS
>>>
>> That's not a bad idea, though I wonder if it makes sense to enable this
>> by default (in --enable-maintainer-mode)? (assuming that they default
>> build doesn't generate any errors with -Wall, which I don't think it does)
>>
>> Or is that too radical?
>>
>
> If we did do it, it could only be when the compiler is GCC, and even
> then, there are systems that produce warnings through no fault of our
> code, which would make this problematic.
>
That's not a problem with a new enough GCC. -Wno-system-headers is your
friend, submitted to GCC way back in 2000 by yours truly. :)

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 4 22:58:03 2005

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.