|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-04-04 11:14:52
> Another (real) issue: defining it in the jamfiles makes the boost libs
> compile. However, you cannot avoid that a user writes something like this
> in his own code:
>
> #include <windows.h>
> #include <boost/test/...>
>
> This fails for the same reasons!
I guess I could use hack like this:
#define BOOST_MS_STRUCTURED_EXCEPTION_HANDLING
#if !defined(_WIN32_WINNT)
#if defined _WINBASE_
#error "either define _WIN32_WINNT or include boost headers in front please"
#endif
#define _WIN32_WINNT 0x0400
#endif
#include <wtypes.h>
#include <winbase.h>
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk