This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16622] [C99] extern inline is handled wrong in C99 mode
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2004 22:53:19 -0000
- Subject: [Bug c/16622] [C99] extern inline is handled wrong in C99 mode
- References: <20040718224725.16622.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm28 at gcc dot gnu dot org 2004-09-11 22:53 -------
Specific minor C99 inline points not implemented:
The diagnostic for inline main should be a pedwarn, not a warning,
but should only apply when flag_hosted.
Duplicate inline is OK in C99.
A declaration with both typedef and inline should receive an error,
as a typedef isn't an identifier for a function.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16622