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: Another libgfortran warning round


Andreas Jaeger <aj@suse.de> writes:

> I've added the following warning flags for the C programs in
> libgfortran:
>
>   -Wmissing-prototypes -Wold-style-definition -Wextra
>
> And compiled everything with 0 warnings on Linux/x86-64 and will check
> Linux/i686 now.  So, we might even add -Werror like we do for the gcc
> directory but I leave this for others to decide.
>
> Regtested on Linux/x86-64.  Ok to commit?

I'm committing this and my followup patch now after an offline
approval from Steven.

>
> Andreas
>
> 	* configure.ac: Add additional warning flags.
> 	* configure: Regenerate.
>
> 	* io/write.c (nml_write_obj): Avoid signed warning.
>
> 	* io/list_read.c (list_formatted_read): Mark parameter as volatile
> 	to avoid warning about clobbering by longjmp.

I'm not committing this part - the warning is bogus and should not be
generated, this is a compiler error.

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]