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

            Bug ID: 41144
           Summary: Target.h #defines the inline keyword
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: brucedaw...@chromium.org
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

In llvm\include\llvm-c\Target.h there is a conditional #define of inline as
__inline. Doing a #define of C++ keywords is illegal and the VC++ 2017
keycheck.h enforces this. This has led to a build break in ARM64 Win32 builds
of Chromium (see crbug.com/943373).

The #define should either be removed or should be scoped to only occur when
compiling for C, or some-such.

-- 
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