[cfe-dev] Clang and MSVC11 headers
popizdeh at gmail.com
Wed May 1 21:44:09 PDT 2013
Clang tries to be msvc compatible (-fms-comaptibilty switch) by
implementing non standard behavior (or bugs) that are absolutely
necessary to parse standard library/platform sdk. But windows support
is generally lacking.
On Thu, May 2, 2013 at 3:44 AM, Leszek Świrski <leszek at swirski.co.uk> wrote:
> To what extent does clang try to make itself compatible with MSVC headers,
> use of clang on Windows? I've recently been trying to use clang on Windows
> along with the MSVC11 headers, and clang fails to compile the macro magic
> is used to emulate variadic templates. Upon further investigation, this is
> because the macros themselves are incorrect, but work in MSVC due to a bug
> the preprocessor. I've submitted a bug report , but this is apparently a
> known issue, and I'm not optimistic about it ever getting fixed.
> What does this mean for us few clang-on-windows users? Are the MSVC11
> headers a
> lost cause, or could clang implement some sort of MSVC preprocessor
> compatibility mode?
>  https://connect.microsoft.com/VisualStudio/feedback/details/785846
> - Leszek
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev