[LLVMbugs] [Bug 13267] New: clang-3.1 (non-Apple version) does not set __STDC_NO_ATOMICS__ nor provide stdatomic.h

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 4 05:22:29 PDT 2012


             Bug #: 13267
           Summary: clang-3.1 (non-Apple version) does not set
                    __STDC_NO_ATOMICS__ nor provide stdatomic.h
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: merijn at inconsistent.nl
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang 3.1 when run with -std=c11 reports __STDC_VERSION__ >= 201112L, but
__STDC_NO_ATOMICS__ is not set even though it does not provide stdatomic.h. It
is my understanding that all C11 implementations are required to either provide
stdatomic.h OR set __STDC_NO_ATOMICS__ to 1.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list