[llvm-bugs] [Bug 32475] New: __ELF__ not defined

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 30 11:41:00 PDT 2017


            Bug ID: 32475
           Summary: __ELF__ not defined
           Product: libc++
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rianquinn at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

When compiling libcxx / libcxxabi with clang --target=x86_64-elf, __ELF__ is
not defined, in which case the following defines COFF instead of ELF in

#if defined(__ELF__)
#elif defined(__MACH__)

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/20170330/a233ae14/attachment.html>

More information about the llvm-bugs mailing list