[cfe-dev] Windows 'Roadmap'

Cédric Venet cedric.venet at laposte.net
Sun Jun 5 13:08:14 PDT 2011


> MSVC 2010 STL:
>    - template function explicit specialization at class scope
>    - Unqualified lookup into dependent bases of class templates

I have another problem on windows with MSVC 2010. If I use the default 
options, and include <vector>, I get:

D:/Prog/llvm/bin/bin/Release/../lib/clang/3.0/include/mmintrin.h:28:2: 
error:
       #error "MMX instruction set not enabled"

So I add -march=native or core2 or the like and then I get:

==========================

In file included from test.cpp:3:
In file included from Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\inc
lude/vector:6:
In file included from Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\inc
lude/memory:987:
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:479:1: e
rror:
       expected ')'
__MACHINEX86X_IA64(__m64 _m_pshufw(__m64,int))
^
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:58:31: n
ote: instantiated from:
#define __MACHINEX86X_IA64    __MACHINE
                               ^
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:479:26:
note: instantiated from:
__MACHINEX86X_IA64(__m64 _m_pshufw(__m64,int))
                          ^
D:/Prog/llvm/bin/bin/Release/../lib/clang/3.0/include/xmmintrin.h:955:19: note:
instantiated from:
#define _m_pshufw _mm_shuffle_pi16
                   ^
D:/Prog/llvm/bin/bin/Release/../lib/clang/3.0/include/xmmintrin.h:722:11: note:
instantiated from:
   ((__m64)__builtin_ia32_pshufw(a, n))
           ^
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:479:1: n
ote:
       to match this '('
__MACHINEX86X_IA64(__m64 _m_pshufw(__m64,int))
^
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:58:31: n
ote: instantiated from:
#define __MACHINEX86X_IA64    __MACHINE
                               ^
Z:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\include/intrin.h:479:26:
note: instantiated from:
__MACHINEX86X_IA64(__m64 _m_pshufw(__m64,int))
                          ^
D:/Prog/llvm/bin/bin/Release/../lib/clang/3.0/include/xmmintrin.h:955:19: note:
instantiated from:
#define _m_pshufw _mm_shuffle_pi16
                   ^
D:/Prog/llvm/bin/bin/Release/../lib/clang/3.0/include/xmmintrin.h:722:3: 
note: i
nstantiated from:
   ((__m64)__builtin_ia32_pshufw(a, n))
   ^

==========================

(here is the result of clang++ -E: 
http://dl.dropbox.com/u/176042/preproc.7z)

I have this problem even with recent build (rev 132285) and it has been 
a long lasting blocking issue. However I never saw this beeing mentioned?

If this is not a problem, I must have missed the solution? Any help 
would be appreciated. Also I didn't see any further discution on the big 
dll patch which is (nearly) completed?

regards,
Cédric



More information about the cfe-dev mailing list