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

Re: Too many warnings

From: Branko Cibej <brane_at_xbc.nu>
Date: Sun, 01 Nov 2009 15:31:23 +0100

Stefan Sperling wrote:
> On Sun, Nov 01, 2009 at 12:07:58AM +0100, Branko Cibej wrote:
>
>> This will sound like yet another rant: whatever happened to our policy
>> of keeping the code free of warnings? I'm referring specifically to the
>> large number of deprecation warnings that come from almost every
>> function in svn_path.h being deprecated.
>>
>> I'm all for replacing those functions with the uri, dirent and relpath
>> variants. However, there's no excuse for deprecating everything, then
>> leaving the warnings in. Sure it's tedious and boring work to fix the
>> warnings ... and I wouldn't worry if there were only a few of them. But
>> the current situations is intolerable because it makes maintainer-mode
>> much less useful than it should be.
>>
>
> So you're compiling trunk? Welcome back to development :)
>

Heh. Nice one. :)

Interestingly ehough, with gcc-4.4 in maintaner-mode, I also get a bunch
of "statement will never be executed" warnings -- in places where that's
far from obvious. Apparently gcc must be doing some whole-object-file
optimization and cross-referencing.

-- Brane

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2413438
Received on 2009-11-01 15:31:41 CET

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