http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56038



Matthias Kretz <kretz at kde dot org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |kretz at kde dot org



--- Comment #1 from Matthias Kretz <kretz at kde dot org> 2013-02-15 10:40:46 
UTC ---

I also just came across this issue with GCC 4.7.2 on Windows. It appears that

all the intrin.h headers are missing the extern "C" part. Since the functions

are always inline and thus the symbols never show up anywhere this has not been

a problem before. But now that another header declares those functions a second

time something must be done.



Maybe what also needs to happen is that in the mingw environment the intrin.h

header does not declare the SSE/AVX intrinsics, but instead includes the proper

xxxintrin.h headers.



In any case, I believe the intrinsics should always be declared with C linkage.

Reply via email to