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/44438] ISO C99 6.7.4p3 not obeyed in C99 mode



------- Comment #1 from jsm28 at gcc dot gnu dot org  2010-06-07 09:54 -------
That's not an "inline definition", so that constraint does not apply.

    If all of the file scope declarations for a function in a translation
    unit include the inline function specifier without extern, then the
    definition in that translation unit is an inline definition.

(6.7.4#6)


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44438


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