
20 Dec
2005
20 Dec
'05
5:06 p.m.
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