warnings in GCC source?

2007-09-06 Thread Basile STARYNKEVITCH
Hello All, In most of GCC source code, it is perfectly normal to expect that no warnings should appear, even if the sources are compiled with -Wall or more. Actually the GCC bootstrap process seems to require this. However, I see some occasions where warnings might be quite difficult to

RE: warnings in GCC source?

2007-09-06 Thread Dave Korn
On 06 September 2007 16:55, Basile STARYNKEVITCH wrote: 2. generated code: when some C files are generated, it may be hard to avoid some warnings, typically a generated C function might have unused arguments (which might be not very easy to detect at generation stage). Generate

Re: warnings in GCC source?

2007-09-06 Thread Andreas Schwab
Basile STARYNKEVITCH [EMAIL PROTECTED] writes: So is there an easy way to have some acceptable warnings in GCC? See gcc/Makefile.in, look for -Wno-error. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key