* gcc bugfix
@ 1997-11-14 11:53 Milus Janos
0 siblings, 0 replies; only message in thread
From: Milus Janos @ 1997-11-14 11:53 UTC (permalink / raw)
To: hjl
Hello
I made a little bugfix in c-decl.c file. It has no effect on the
code generated by gcc, it just fixes 2 switches: pedantic and
pedantic-errors. I don't know where to send this stuff but I found your
e-mail address in ChangeLog. If I send it to the wrong address please
forward it to the right place. Thank you.
Regards
Janos Milus
johans@mail.corvex.hu
1654,1655c1654,1660
< && !TREE_PUBLIC (newdecl))
< warning_with_decl (newdecl, "static declaration for `%s' follows non-static");
---
> && !TREE_PUBLIC (newdecl)) {
> if (pedantic) {
> pedwarn_with_decl (newdecl, "static declaration for `%s' follows non-static");
> } else {
> warning_with_decl (newdecl, "static declaration for `%s' follows non-static");
> }
> }
--
H.J. Lu (hjl@gnu.ai.mit.edu)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-14 11:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-14 11:53 gcc bugfix Milus Janos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).