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: unassignedclangb...@nondot.org
          Reporter: raptorfac...@raptorfactor.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to