|
Boost Users : |
Subject: [Boost-users] [asio] Header ordering problems
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-11-16 16:23:07
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/asio.hpp>
produces the error message at compile time:
1>c:\boost_1_37_0\boost\asio\detail\socket_types.hpp(27) : fatal error
C1189: #error : WinSock.h has already been included
while
#include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
does not.
Same problem occurs when including any of the headers in boost/thread/...
Robert Ramey
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net