Here's the source code: extern inline void f() {} int main () {}
Compile with gcc -c -std=gnu99 filename.c Use nm filename.o to see that a global symbol f has been declared, but it shouldn't be. This prevents libgmp from being usable under Mac OS 10.5. % uname -a Darwin indigo.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 -- Summary: gcc -std=gnu99 emits global symbol for extern inline function declarations Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dan at math dot uiuc dot edu GCC build triplet: i686-apple-darwin9 GCC host triplet: i686-apple-darwin9 GCC target triplet: i686-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34697