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: Bruno Haible
Subject: Re: inline related build failures on MacOS X 10.5
Date: Sat, 12 Apr 2008 00:35:49 +0200
User-agent: KMail/1.5.4

Ludovic Courtès wrote:
> but (i) "static inline" is safe,

Yes sure.

> (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.

I don't think this is fair towards Apple. The GCC developers did this
change of the inline semantics in four steps:
  1. implemented the new C99 semantics.
then only started to think about backward compatibility:
  2. implemented __attribute__((gnu_inline)) for when the old semantics is
     needed,
  3. added __GNUC_STDC_INLINE__ and __GNUC_GNU_INLINE__ as indicator macros,
  4. added a warning in the gcc-4.2.x branch.

Apple apparently simply pulled patches from the development branch.
RedHat did the same; remember gcc-2.96?

Bruno





reply via email to

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