Hi, Please review following patches:
http://repo.or.cz/w/mingw-w64/jacek.git/commitdiff/bd7caa72f45af8883715e39c7b8d3ba1f26e6f99 This is a regular Wine import update. http://repo.or.cz/w/mingw-w64/jacek.git/commitdiff/65bb5e26b0e99b917d294e5741b78ff1a6a1ad35 This solves a problem with compiling following code in C++: #include <mmintrin.h> #include <intrin.h> The problem is that declarations from mmintrin.h are duplicated in intrin.h, but our declarations use C linking declaration, while GCC-provided mmintrin.h uses C++ linking. There are already hacks for this in intrin.h that wrap includes of GCC-provided headers in extern "C" {} block. Inclusion of mmintrin.h was missing there, so I've added one, wrapping it in __MMX__ guard as GCC's mmintrin.h can't be used without -msse. Sadly it's not enough if we include GCC-provided headers as very first thing. We can't do much to the fact, that these declarations will use C++ linking in this case. All we can do is avoiding errors by not duplicating declarations. I believe the situation is not too bad - duplications don't gain us anything and linking type is a cosmetic thing for intrins anyway. Thanks, Jacek ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
