[llvm-bugs] [Bug 42078] New: Error when using -fms-extensions and #pragma detect_mismatch

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 30 15:10:36 PDT 2019


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

            Bug ID: 42078
           Summary: Error when using -fms-extensions and #pragma
                    detect_mismatch
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: raptorfactor at raptorfactor.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 22055
  --> https://bugs.llvm.org/attachment.cgi?id=22055&action=edit
Minimal repro files

Reproduces under Ubuntu 19.04 with both Clang 8 from the Canonical repository,
and Clang 9 from the LLVM Nightly packages. Does not appear to reproduce under
WSL on Windows. clang-cl on Windows also works fine.

Example:
#define X 0
#pragma detect_mismatch("X", "0")

Minimal repro with output attached.

-- 
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/20190530/61835a2a/attachment.html>


More information about the llvm-bugs mailing list