[cfe-dev] Disable fms-extensions?

Andrey Bokhanko via cfe-dev cfe-dev at lists.llvm.org
Sat Mar 11 11:32:20 PST 2017


Hi Zahira,

-fms-extensions can obviously be disabled with -fno-ms-extensions. This
won't necessarily mirrors /Za exactly, though -- as according to MS, /Za
disables *all* C++ extensions, not only MS-specific ones. I doubt anyone
tried to implement a mode that mirrors /Za exactly.

Yours,
Andrey
---
Compiler Architect
NXP

On Tue, Mar 7, 2017 at 9:10 PM, Ammarguellat, Zahira via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Hello,
>
> Clang implements MS extensions when using -fms-extension. On windows this
> option is enabled by default.
> Is there any way of disabling it to mirror the behavior of the /Za
> (-permissive-) option of CL?
> Thanks,
> -Zahira
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170311/85210724/attachment.html>


More information about the cfe-dev mailing list