Ian Lynagh wrote:
On Wed, Sep 17, 2008 at 03:38:43PM +0200, David Markvica wrote:
n Sep 17, 2008, at 15:18, Ian Lynagh wrote:
Won't the workaround break when Apple ships gcc 4.3?
Hard to say, but my guess is no. XCode 3.1.1 includes
% gcc-4.2 --
version
~
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
as well and that one doesn't support __attribute__((gnu_inline))
either. It seems they deliberately removed it from their branch.
We didn't need it on Linux with gcc 4.2 either.
Yes, because the FSF version of gcc defines the macro only in versions
that actually support the attribute, as far as I understand. See also
http://gcc.gnu.org/onlinedocs/gcc-4.2.4/cpp.pdf page 24, 2nd paragraph
of __GNUC_STDC_INLINE__.
The versions of gcc that Apple ships with XCode 3.1.1 don't support the
attribute, but do define the macro.
hope that clarifies things.
d~
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc