<L_TYPE_raw> syntax error when building a Visual Studio MFC (<afxwin.h>) application

Hi everybody,

I am trying to create a MFC application in Visual Studio and whenever I try to include <afxwin.h>
and build my application I am running into the following error.

c:\clang\llvm\include\llvm\adt\stringref.h(47) : error C2059: syntax error : ‘<L_TYPE_raw>’

I hope someone can help.

Thanks !!!

Peter

…ok I solved it by not using precompiled headers and including the clang/llvm stuff first… :wink: