[Bug c/49653] Undefined reference to inlined function with -O0,-std=c99

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 6 19:37:00 GMT 2011


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-06 19:37:00 UTC ---
why not just add this to make the code valid by emitting an extern definition?

extern long trouble(long, long);



More information about the Gcc-bugs mailing list