Bug#633552: mingw-w64: inclusion of both emmintrin.h and windows.h fails on x86_64 with g++

2011-07-13 Thread Sébastien Villemot
Stephen Kitt st...@sk2.org writes: On Mon, Jul 11, 2011 at 03:52:15PM +0200, Sébastien Villemot wrote: $ x86_64-w64-mingw32-g++ foo.cc In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../x86_64-w64-mingw32/include/winnt.h:1435:0, from

Bug#633552: mingw-w64: inclusion of both emmintrin.h and windows.h fails on x86_64 with g++

2011-07-13 Thread Stephen Kitt
On Wed, Jul 13, 2011 at 09:46:28AM +0200, Sébastien Villemot wrote: Actually my setup is a bit more complicated than that, I have several nested inclusion levels with many headers, so this workaround may not be easy to apply in my case, but I will try. Of course, from my point of view, the

Bug#633552: mingw-w64: inclusion of both emmintrin.h and windows.h fails on x86_64 with g++

2011-07-12 Thread Stephen Kitt
Hi, On Mon, Jul 11, 2011 at 03:52:15PM +0200, Sébastien Villemot wrote: $ x86_64-w64-mingw32-g++ foo.cc In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../x86_64-w64-mingw32/include/winnt.h:1435:0, from

Bug#633552: mingw-w64: inclusion of both emmintrin.h and windows.h fails on x86_64 with g++

2011-07-11 Thread Sébastien Villemot
Package: mingw-w64 Version: 1.0+20110523-1 Severity: normal Consider the following code: --- #include emmintrin.h #include windows.h int main(int argc, char **argv) { } --- When compiled with g++ on i686 with SSE2 it works fine: $