http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-07 16:49:18 UTC --- (In reply to comment #7) > (In reply to comment #6) > > why not just add this to make the code valid by emitting an extern > > definition? > > > > extern long trouble(long, long); > > If you're suggesting that the front-end would do this automatically when > compiling -O0 -std={gnu}99, I'd agree that this would be a good way to handle > this use case. No, I was suggesting you add it, not the compiler.