Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-30 08:25:56

Christoph Ludwig <cludwig_at_[hidden]> writes:

>> BTW, I was told that if boost/config.hpp is included before any system
>> headers, it will still be able to use _REENTRANT to detect if -pthread was
>> specified on the command line.
> That's correct AFAICT, but does not really help. There's already too
> much code that includes system headers before any boost headers.

If we're in the same situation as Python, which requires "python.h" be
included before any system headers, it's a damn shame. I don't
understand all the reasons for this situation -- is it POSIX's fault?
Can we get them to fix this? AFAICT it's almost impossible to
formulate consistent rules for using libraries together now. If
someone wants to use python and boost together, what should she do?

Dave Abrahams
Boost Consulting

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