More likely is the fact that inlining is disabled at -O0 and now the functions really are implemented as static functions and generate static functions.  Now you really do have unreferenced static functions.  Try removing the static storage class from the inline prototypes.

Or try the always_inline attribute.  That is GCC-specific and really should not appear directly in source files, but indirectly through compiler.h


Reply via email to