First of all, I\'ve followed \"Getting Started: Building and Running Clang\". In particular, I\'ve built it according to \"Using Visual Studio\" section. In other words, I\'
The obvious answer is you forgot sending -fno-ms-compatibility to clang++ :P
I'm doing windows app dev using VS and use clang+CodeBlocks for sharing aspects neutral to platform's domain.