This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63287] New: __STDCPP_THREADS__ is not defined
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Sep 2014 15:49:07 +0000
- Subject: [Bug c++/63287] New: __STDCPP_THREADS__ is not defined
- Auto-submitted: auto-generated
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