c++/9511: Can't detect whether threading enabled in Cygwin GCC

dave@boost-consulting.com dave@boost-consulting.com
Thu Jan 30 20:26:00 GMT 2003


>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:



More information about the Gcc-bugs mailing list