From: <adr...@us...> - 2014-02-25 22:16:38
|
Revision: 6501 http://sourceforge.net/p/mingw-w64/code/6501 Author: adrien-n Date: 2014-02-25 22:16:30 +0000 (Tue, 25 Feb 2014) Log Message: ----------- intrinsics: don't include {d,f,i}vec.h from inside intrin.h. Prior to this commit, #include <intrin.h> would automatically pull these *vec.h headers for C++. Depending on compiler options (architecture and optimizations), it would fail because they use functions which are only declared later on in intrin.h. Simply remove the inclusion of {d,f,i}vec.h from intrin.h since there is little reason to do so and other compilers don't seem to do it. This changes behaviour with previous mingw-w64 releases but only to make it more compatible with MSVC. I originally investigated the issue to fix a build of Qt 5.2. Modified Paths: -------------- trunk/mingw-w64-headers/crt/intrin.h Modified: trunk/mingw-w64-headers/crt/intrin.h =================================================================== --- trunk/mingw-w64-headers/crt/intrin.h 2014-02-25 16:07:10 UTC (rev 6500) +++ trunk/mingw-w64-headers/crt/intrin.h 2014-02-25 22:16:30 UTC (rev 6501) @@ -147,12 +147,7 @@ } #endif -#if defined(__cplusplus) -#include <dvec.h> -#include <fvec.h> -#include <ivec.h> #endif -#endif #define __MACHINEX64 __MACHINE #define __MACHINEARMX __MACHINE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |