From e0d6d01e522d4207eecc927cffabbb9a8d1b757d Mon Sep 17 00:00:00 2001 From: Jonathan Storey Date: Mon, 10 Dec 2018 11:59:22 +0000 Subject: VS: Add flag table entry for "permissive" flag to disable conformance mode This flag is required to disable conformance mode on specific sources when it is otherwise enabled on most sources. --- Templates/MSBuild/FlagTables/v141_CL.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Templates/MSBuild/FlagTables/v141_CL.json b/Templates/MSBuild/FlagTables/v141_CL.json index d566526..01fafe4 100644 --- a/Templates/MSBuild/FlagTables/v141_CL.json +++ b/Templates/MSBuild/FlagTables/v141_CL.json @@ -812,11 +812,18 @@ { "name": "ConformanceMode", "switch": "permissive-", - "comment": "Conformance mode", + "comment": "Conformance mode enabled", "value": "true", "flags": [] }, { + "name": "ConformanceMode", + "switch": "permissive", + "comment": "Conformance mode disabled", + "value": "false", + "flags": [] + }, + { "name": "TreatWChar_tAsBuiltInType", "switch": "Zc:wchar_t-", "comment": "Treat WChar_t As Built in Type", -- cgit v0.12