[clang] [clang] Add /Zc:__STDC__ flag to clang-cl (PR #68690)

Max Winkler via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 17:12:10 PDT 2024


================
@@ -291,6 +291,7 @@ LANGOPT(HIPStdParInterposeAlloc, 1, 0, "Replace allocations / deallocations with
 
 LANGOPT(OpenACC           , 1, 0, "OpenACC Enabled")
 
+LANGOPT(MSVCEnableStdcMacro , 1, 0, "Define __STDC__ with '-fms-compatability'")
----------------
MaxEW707 wrote:

```suggestion
LANGOPT(MSVCEnableStdcMacro , 1, 0, "Define __STDC__ with '-fms-compatibility'")
```

https://github.com/llvm/llvm-project/pull/68690


More information about the cfe-commits mailing list