|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-12-20 12:06:29
> It looks like somewhere windows.h is included. When I define
> WIN32_LEAN_AND_MEAN for the hole project, the order of the includes is
> regardless because of following #ifndef in windows.h
>
> #ifndef WIN32_LEAN_AND_MEAN
> ...
> #include <shellapi.h>
> #ifndef _MAC
> #include <winperf.h>
> #include <winsock.h>
> #endif
> ...
> #endif /* WIN32_
>
> Is windows.h included in boost.test or asio? When it is so, perhaps you
> should define WIN32_LEAN_AND_MEAN before.
>
>
> Andreas
I know nothing about this WIN32_LEAN_AND_MEAN and how it affects what I
need. windows.h is included in Boost.Test execution_monitor.ipp. My
recommendation would be to use regular offline build instead of inline one.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk