[cfe-dev] [llvm-dev] problem (and fix) with -fms-extensions

Marc Espie via cfe-dev cfe-dev at lists.llvm.org
Wed May 17 15:22:11 PDT 2017


On Wed, May 17, 2017 at 01:01:07PM -0700, Reid Kleckner wrote:
> 
>    I'd rather not add new pre-defined macros if we can avoid it. There are
>    already too many. You can probably detect this situation with:
>    #if defined(_MSC_EXTENSIONS) && !defined(_WCHAR_T_DEFINED)
> 
Was this added recently ?

There is no _MSC_EXTENSIONS in the clang I'm using...



More information about the cfe-dev mailing list