[cfe-dev] clang and Windows
Kovarththanan Rajaratnam
krj at rajaratnam.dk
Fri Jun 19 03:00:30 PDT 2009
Hey guys,
I'd like to know what the current status of clang is on Windows. I
thought I'd give it a spin and ran into trouble from the getgo when I
tried to #include <windows.h>:
$ clang-cc -D_MSC_VER=1200 -D_M_IX86 test.c
In file included from c:/Program Files/Microsoft Visual
Studio/VC98/Include/windows.h:163:
In file included from c:/Program Files/Microsoft Visual
Studio/VC98/Include/windef.h:166:
c:/Program Files/Microsoft Visual Studio/VC98/Include/winnt.h:1519:1: error:
unknown type name '_inline'
_inline PVOID GetFiberData( void ) { __asm {
^
c:/Program Files/Microsoft Visual Studio/VC98/Include/winnt.h:1519:15:
error:
invalid token after top level declarator
_inline PVOID GetFiberData( void ) { __asm {
^
c:/Program Files/Microsoft Visual Studio/VC98/Include/winnt.h:1576:9: error:
unknown type name 'FLOATING_SAVE_AREA'
typedef FLOATING_SAVE_AREA *PFLOATING_SAVE_AREA;
^
c:/Program Files/Microsoft Visual Studio/VC98/Include/winnt.h:1628:5: error:
unknown type name 'FLOATING_SAVE_AREA'
FLOATING_SAVE_AREA FloatSave;
Is this a known issue or have I not configured things properly?
--
Best regards,
Kovarththanan Rajaratnam
More information about the cfe-dev
mailing list