Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-12-21 08:51:34

> > I guess we could check for the _XOPEN_SOURCE value in posix_features.hpp
> > well as for _XOPEN_VERSION, maybe this is the right thing to do for all
> > Unixes, I don't know, anyone any ideas?
> According to the above link a XSI conformant application should define
> _XOPEN_SOURCE and set it to 600. So it should be defined in all posix
> compliant unices. But as you said, this should not be defined in boost
> headers as this doesn't guarantee that all system headers one may use will
> have the same feature set defined. An FAQ in the threads documentation
> like the least boost can do about it. Even better, albeit intrusive, if
> _XOPEN_SOURCE is not defined posix_features.hpp emits a warning pointing
> user to the docs and advise him to define _XOPEN_SOURCE = 600 when
> his application.


John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at