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++/63287] New: __STDCPP_THREADS__ is not defined


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63287

            Bug ID: 63287
           Summary: __STDCPP_THREADS__ is not defined
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org

16.8 [cpp.predefined] in C++11 says:

  __STDCPP_THREADS__
  Defined, and has the value integer constant 1, if and only if a program can
  have more than one thread of execution (1.10).

I'm not sure what the best way to meet that requirement is, given that . For
some platforms we could make -pthread imply -D__STDCPP_THREADS__, or maybe we
just want to define it unconditionally in every gthr-xxx.h header except
gthr-single.h


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