|
Boost : |
From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-04-04 10:51:48
Gennadiy Rozental wrote:
>
> Does anybody know a reliable way to workaround this? Why _WIN32_WINNT isn't
> defined by default? Could we define it in Jamfiles or Boost.Build sources?
>
The problem is that if you define it, the code will not execute on Win95
(at least for _WIN32_WINNT=4; higher values have more restrictions, of
course). I don't know if there's really a huge problem with this.
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!
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk