This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/53769] New: [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769

             Bug #: 53769
           Summary: [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__
                    missing.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick.pelissier@gmail.com


When building a C program with -std=c11, GCC doesn't define 
__STDC_NO_THREADS__ &  __STDC_NO_ATOMIC__ whereas it doesn't support theses
features (yet) and still defines __STDC_VERSION__ to 201112L.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]