On Fri, Apr 24, 2009 at 1:12 PM, Peter O'Gorman <[email protected]> wrote: > Jonathan Blanchard wrote: >> hi, >> >> Spurious redefinition of _FILE_OFFSET_BITS trigger many warnings when >> using gcc in Solaris. Adding an undef before redefining would clear >> the problem. >> >> It is initially defined in >> gcc/lib/gcc/i386-pc-solaris2.11/4.3.2/include-fixed/sys included by >> string.h. >> > > Aren't these warnings because of including config.h after string.h? > I think that they'll go away if you ensure that config.h is the first > thing included in every source file.
It is but sometimes it's not really possible to include config.h before all the headers. > > Peter > -- > Peter O'Gorman > http://pogma.com > Jonathan Blanchard
