Make possible to compile with -O0

The inline keyword by itself allows a compiler to invoke
external linkage and produce no code other than a call.
This is what gcc -O0 in fact does, giving a linking error.
Remove compile-warnings when --disable-debug