[Bug c/126702] undefined reference to inline function
"arsen at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126702 --- Comment #9 from Arsen Arsenović <arsen at gcc dot gnu.org> --- gcc 4.7.4 defaulted to traditional GNU inline semantics maybe -fgnu89-inline works for you it may even make sense to do -std=gnu89 since it's old code. see https://gcc.gnu.org/onlinedocs/gcc/Inline.html for traditional GNU inline semantics (the last handful of paragraphs)