https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99509

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #1)
> But with cc it fails with:
> 
> unresolved symbol foo
> mkoffload: fatal error: ...

For C99 and later you'd need either static inline, or extern inline, inline
means the compiler can use the body but that the definition is provided
somewhere else if it is not inlined.

Reply via email to