This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wall not used in libgfortran


Steven Bosscher <stevenb@suse.de> writes:

> On Sunday 15 May 2005 14:12, Andreas Jaeger wrote:
>> Ok to commit?  I propose to commit to 4.0 as well without the
>> -Wstrict-prototypes addition.  Ok?
>
> Why disable this for 4.0?

If we add it, we should add my patches to fix the prototypes.  I just
want to use "-Wall" for 4.0.  But if all patches from mainline are
moved over to 4.0 at one point, then that's fine with me as well.  The
problem is that if I enable -Wstrict-prototypes, we need the other
patches as well...

>
>> 	* Makefile.am: Remove AM_CFLAGS here.
>> 	* configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
>> 	are set.  Set additionally -Wstrict-prototypes for CFLAGS.
>> 	* Makefile.in: Regenerated
>> 	* configure: Regenerated.
>
> If it works, I'm happy with it.
>
> The more warnings, the better -- or something like that... ;-)

Down to zero - have to think about enabling some more ;-) - and then
add -Werror,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]