[llvm-commits] [cfe-commits] [cfe-dev] [PATCH] Windows improvements

Erik Olofsson Erik.Olofsson at hansoft.se
Tue Mar 1 08:40:42 PST 2011


> I think we need to split these entities. Clearly one might want to have vcpp-
> like diagnostics even w/o MS extensions enabled (consider e.g. I'm
> targeting some arch and want to integrate with visual studio).

Ok, I will add a cmake option LLVM_ENABLE_MSVCSTYLEDIAGNOSTICS  enabled by default on MSVC for this. It will choose the style of diagnostics at configure time. It could then be extended to be the default for a command line option choosing the style of diagnostics.

I will send each patch separately to llvm-commits and cfe-commits as appropriate.

Regards,
Erik

> -----Original Message-----
> From: Anton Korobeynikov [mailto:anton at korobeynikov.info]
> Sent: den 28 februari 2011 13:52
> To: Erik Olofsson
> Cc: NAKAMURA Takumi; llvm-commits; cfe-commits
> Subject: Re: [cfe-commits] [cfe-dev] [PATCH] Windows improvements
>
> Hi Erik
>
> > But what about if you then use a clang compiled in mingw to host itself. I
> assume we need ms extensions enabled, and then _MSC_VER will be
> defined.
> I think we need to split these entities. Clearly one might want to have vcpp-
> like diagnostics even w/o MS extensions enabled (consider e.g. I'm
> targeting some arch and want to integrate with visual studio).
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list