[LLVMbugs] [Bug 22740] New: gcc's stdatomic.h is not usable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 28 09:53:30 PST 2015


            Bug ID: 22740
           Summary: gcc's stdatomic.h is not usable
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jens.gustedt at inria.fr
                CC: klimek at google.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The include-next feature to detect a functioning system stdatomic.h header file
is not working for me. It finds the one from a gcc 4.9 installation which uses
features that are not supported by clang.

Thus compilation of C11 code that uses stdatomic.h fails.

Please provide a workarround.

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/20150228/06324efd/attachment.html>

More information about the llvm-bugs mailing list