Bruno Haible <[EMAIL PROTECTED]> writes: > $ ./configure > $ make > $ make clean > $ make CFLAGS="-g -O0" > be trapped in the link error: xmalloc.c, compiled with optimization, will > not define xnmalloc, whereas the main sources, compiled without optimization, > will require it.
How about if we change xmalloc.c so that it works, even in this scenario, by building an external .o file that can be linked in by people compiling without optimization? Would it then be acceptable to test __NO_INLINE__ at compile time? I would prefer the flexibility, as I don't like the idea that whether-to-inline has to be chosen all at once, for an entire package.