This is the mail archive of the gcc-bugs@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]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]