bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redefinition of _FILE_OFFSET_BITS triggers an unusual amount of war


From: Peter O'Gorman
Subject: Re: Redefinition of _FILE_OFFSET_BITS triggers an unusual amount of warnings in Solaris.
Date: Fri, 24 Apr 2009 11:12:59 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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.

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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