[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 29 14:15:00 GMT 2007



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



More information about the Gcc-bugs mailing list