8 Jul
2008
8 Jul
'08
5:04 a.m.
Jean-Sebastien Stoezel wrote:
Hi,
Thanks for your quick answer. I am not including
(I'm compiling a console application, without support for MFCs or precompiled headers). Here is what I have defined in the project: WIN32;_DEBUG;_CONSOLE I haven't defined WIN32_LEAN_AND_MEAN or any other macro (just included
). Any idea of what else this could be?
Thanks, Jean
Hi Are you using Boost date/time anywhere?? There are two includes of windows.h in filetime_functions.hpp and microsec_time_clock.hpp which do not have the "lean and mean" macro defined before the includes. For me, I had to add the "lean and mean" to microsec_time_clock.hpp just prior to the windows.h include to fix this error. Kevin