dw schreef op za 20-07-2013 om 02:07 [-0700]: > Boost could: > 1) Use winbase.h (via windows.h) like the MSDN docs say they should. > In fact, I wonder if defining BOOST_USE_WINDOWS_H would work.
I just did some more testing. According to http://sligt.wordpress.com/2011/03/05/compiling-boost-thread-using-mingw64/ people are recommended to define BOOST_USE_WINDOWS_H when building boost using mingw-w64 for the x64 target. With this specific define set the boost package can indeed be compiled without issues (for both the x86 and x64 targets). However, there's a catch! The boost build system doesn't embed this specific define in its installed headers. It expects that all boost-using projects (like qpid-cpp) also have this BOOST_USE_WINDOWS_H define set otherwise it will also cause build failures there. So I guess that changes to our package build scripts alone aren't enough and that code patches really are needed.. Regards, Erik van Pienbroek ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
