bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] inline.m4: use compiler, not cpp


From: Bruno Haible
Subject: Re: [bug-gnulib] inline.m4: use compiler, not cpp
Date: Mon, 13 Nov 2006 18:11:06 +0100
User-agent: KMail/1.9.1

Eric Blake wrote:
> Is it worth trying to override AC_C_INLINE's definition of inline when we
> detect that inline is not supported, such that inline is redefined to the
> empty string, and uses of inline in headers that are not protected by
> HAVE_INLINE will then cause multiple copy link errors if used in more than
> one file?

This is probably not safe to do: There may be other source files, outside
of gnulib, that use 'inline' in another context (such as 'extern inline'
or similar - despite its complicated portability issues).

AC_C_INLINE and gl_INLINE simply answer two different questions.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]