[llvm-bugs] [Bug 48220] New: clang-cl: ignore /Zc:preprocessor

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 18 14:09:22 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48220

            Bug ID: 48220
           Summary: clang-cl: ignore /Zc:preprocessor
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lev.rumyantsev at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Visual C++ 2019 has new compiler option /Zc:preprocessor for ISO C++
conformance. As clang should be conforming by default, it should ignore them
instead of issuing a warning "argument unused during compilation".
https://devblogs.microsoft.com/cppblog/announcing-full-support-for-a-c-c-conformant-preprocessor-in-msvc/
https://docs.microsoft.com/en-us/cpp/build/reference/zc-conformance?view=msvc-160

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201118/43eb38e0/attachment-0001.html>


More information about the llvm-bugs mailing list