This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9511: Can't detect whether threading enabled in Cygwin GCC
- From: dave at boost-consulting dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 30 Jan 2003 17:47:02 -0000
- Subject: c++/9511: Can't detect whether threading enabled in Cygwin GCC
- Reply-to: dave at boost-consulting dot com
>Number: 9511
>Category: c++
>Synopsis: Can't detect whether threading enabled in Cygwin GCC
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 30 17:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: dave@boost-consulting.com
>Release: unknown-1.0
>Organization:
>Environment:
Cygwin GCC 3.2
>Description:
There seems to be no way to detect whether threading
support has been enabled (with -mthread) in Cygwin GCC: from the specs
file it looks to me like it only sets a preprocessor symbol in
-mno-cygwin (mingw) mode. There ought to be a way to detect that threading support is disabled so that pessimizations like mutex locks can be left out.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: