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: Fri, 10 Nov 2006 15:42:51 +0100
User-agent: KMail/1.9.1

Jim Meyering wrote:
> 2006-11-10  Jim Meyering  <address@hidden>
> 
>       * m4/inline.m4 (gl_INLINE): Check with the compiler, not cpp,
>       so that relevant options in CFLAGS (like -O, -fno-inline) are
>       taken into account.

Thanks again! I applied this patch, with added comments, and without
the quadrigraphs for '#'. (It works with '#' therefore why write '@%:@'?)

> The gl_INLINE macro was failing to define HAVE_INLINE,
> and that led to link errors when building coreutils with CFLAGS=-O.

Hmm. I understand such link errors if, after updating from gnulib, you
did "make" without "make clean". If you got the link errors also after doing
a "make clean; make", there must still be an error somewhere. The HAVE_INLINE
is only a hint. Do you still get a link error when configuring and compiling
with no optimization (CFLAGS empty)?

Bruno




reply via email to

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