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

Re: Shutting up warnings

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-11-21 14:17:19 CET

Erik Huelsmann wrote:
> On 11/21/05, Julian Foad <julianfoad@btopenworld.com> wrote:
>>>On Sun, 20 Nov 2005, Erik Huelsmann wrote:
>>>>I get a gcc warning about base_props being used uninitialized in
>>Erik, if you "make clean" and compile the whole of Subversion, how many of that
>>type of warning do you get? Which gcc?
> After my last commit to trunk? Or were you talking about the branch?

Either; I just meant roughly how many in the whole of our source code.

> Trunk: 0 warnings with EXTRA_CFLAGS='-Wall -O2'
> wc-propcaching: 1 warning (the one I sent the patch about) with the same flags.

In that case I'd say "fix" it (silence it in the neatest way you can find).
This might not do any good for gcc v4 users, but it does for gcc v3 users.

> GCC version:
> [erik@bartje trunk]$ gcc -v
> gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Come to think of it, I'm getting the same (gcc 3.3.5, those and a few more
warnings enabled).

Peter, for my interest, could you show me a few warnings of this type from gcc
4.0.2? I'd like to have a look at our code in those places, and try to see how
it differs.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 21 14:18:54 2005

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