[PATCH] D32435: clang-cl: Add support for /permissive-

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 24 11:10:11 PDT 2017


-pedantic means "Issue all the warnings demanded by strict ISO C and ISO
C++; reject all programs that use forbidden extensions, and some other
programs that do not follow ISO C and ISO C++."
I believe it is more akin to -fno-ms-compatibility as it disables
compatibility hacks.

On Mon, Apr 24, 2017 at 11:02 AM, Nico Weber <thakis at chromium.org> wrote:

> It does sound pretty similar to me from the blog post. I think this is a
> decent place to start from.
>
> On Apr 24, 2017 11:55 AM, "David Majnemer via Phabricator via cfe-commits"
> <cfe-commits at lists.llvm.org> wrote:
>
>> majnemer requested changes to this revision.
>> majnemer added a comment.
>> This revision now requires changes to proceed.
>>
>> I don't think this is correct. GDR (of Microsoft) says the behavior is
>> different: https://www.reddit.com/r/cpp/comments/5dh7j5/visual_c_introd
>> uces_permissive_for_conformance/da5fxjj/
>>
>>
>> https://reviews.llvm.org/D32435
>>
>>
>>
>> _______________________________________________
>> 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-commits/attachments/20170424/9d96fa38/attachment.html>


More information about the cfe-commits mailing list