On Tue, Nov 13, 2012 at 1:41 PM, Ian Lynagh <ig...@earth.li> wrote: > Repository : ssh://darcs.haskell.org//srv/darcs/ghc > > On branch : master > > http://hackage.haskell.org/trac/ghc/changeset/53e9916fb7908e79754f0f5c65008439bf53227e > >>--------------------------------------------------------------- > > commit 53e9916fb7908e79754f0f5c65008439bf53227e > Author: Ian Lynagh <i...@well-typed.com> > Date: Tue Nov 13 16:20:17 2012 +0000 > > Fix the OFFSET macro > > When offsetof is defined, we use that. This avoids "variably > modified at file scope" warnings/errors with recent gccs.
Hi Ian, Is there at all any C compiler used to build GHC that does not define offsetof? It is a standard C macro defined in <stddef.h> that even freestanding C compilers have to provide. -- Gaby _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc