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/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-03-29 15:15 -------
Plain inline without any thing which says static or extern in C99 is the same
as what GNU-C90 considers as their "extern inline" and not what C99 considers
as "extern inline".  If you add a prototype that says extern, it will just
work.


-- 


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


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