[Bug c/16622] [C99] extern inline is handled wrong in C99 mode

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 11 22:53:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list