On Sun, 1 Mar 2009, Austin English wrote:

> OpenSolaris defines _FILE_OFFSET_BITS as well, causing a conflict.

_FILE_OFFSET_BITS modifies the behavior of the Unix headers. So if it's 
set already, then it's wrong to redefine it and continue to include 
other Unix headers because you'll end up with inconsistent definitions.

I think what this means is that there are places that include port.h 
after they have included Unix headers and that's wrong. It's these files 
that should be fixed.


-- 
Francois Gouget <fgou...@free.fr>              http://fgouget.free.fr/
        It really galls me that most of the computer power in the world
                          is wasted on screen savers.
                     Chris Caldwell from the GIMPS project
                       http://www.mersenne.org/prime.htm


Reply via email to