bug-gnulib
[Top][All Lists]
Advanced

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

Re: inline related build failures on MacOS X 10.5


From: Ludovic Courtès
Subject: Re: inline related build failures on MacOS X 10.5
Date: Fri, 11 Apr 2008 17:16:47 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

Bruno Haible <address@hidden> writes:

> Ludovic Courtès wrote:
>> FWIW, I solved it this way in Guile, based on what GNU R does:
>> 
>>   
>> http://git.sv.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=7dc9ae7179b8b099897f8080b675e2a9c54d388c
>
> Do you have information about the compilers with build numbers 5401..5464 ?

Nope, I don't have access to that platform myself.  I took the idea from
https://svn.r-project.org/R/trunk/src/include/Rinlinedfuns.h .

> Btw, when the next version of Apple gcc comes out, based on gcc >= 4.3, and
> defines __GNUC_STDC_INLINE__, this code will still use 'static inline'.
> Whereas it could use
>   extern __inline__ __attribute__ ((__gnu_inline__))
> then, and simple
>   __inline__
> now with the build 5465.

Right, but (i) "static inline" is safe, (ii) who knows what silly
patches Apple will apply to their next GCC series, and (iii) let's not
put too much effort into systems that deliberately break things.

Maybe we should just undefine `__GNUC__' when `__APPLE_CC__' is
defined...

Thanks,
Ludovic.





reply via email to

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