n Sep 17, 2008, at 15:18, Ian Lynagh wrote: > On Wed, Sep 17, 2008 at 02:23:20PM +0200, David Markvica wrote: >> Simon Marlow wrote: >>> Manuel M T Chakravarty wrote: >>>> On Mac OS X 10.5, I am getting the appended warnings that break >>>> validate (since yesterday). >> >> It seems that for some odd reason Apple's gcc (versions 4.0.1 and >> 4.2.1) >> defines __GNUC_GNU_INLINE__ but doesn't actually support >> __attribute__((gnu_inline)). >> FSF's gcc added the macro together with the attribute in their >> version >> 4.1.3. >> >> According to [1], this seems to be an acceptable workaround: > > HEAD validates for me both with and without your workaround. I have: > > $ gcc --version > i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Here it fails without the workaround in the same way as Manuel's. I have: % gcc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488) probably a new version included in XCode 3.1.1. > 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. d~ _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
