Subject: Re: [boost] [config] problem with sys/select.h on Linux/Unix
From: John Maddock (john_at_[hidden])
Date: 2009-06-30 13:16:55
> boost config seems to be indirectly including sys/select.h on Linux.
> This causing me a problem in my sockets library where I have my own
> declarations of select, fd_set etc which cause duplicate symbols errors.
> No only can I not use config but also any boost lib as they all use
> config :-(.
> Can someone please suggest a fix for this?
> Out of curiosity, why does config use select.h?
It doesn't: at least not deliberately, my guess it's included by something
else like <unistd.h> which we really do need.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk