Another libgfortran warning round
Andreas Jaeger
aj@suse.de
Tue May 17 16:54:00 GMT 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050517/85f3722e/attachment.sig>
More information about the Fortran
mailing list