This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope
- 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: Thu, 19 Jul 2012 23:55:50 +0000
- Subject: [Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-53238-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-19 23:55:50 UTC ---
(In reply to comment #16)
> Will this work any better as a solution
> than my suggestion in comment #4?
No, it will fail on any non-posix platform, even if it provides a timed-lock
function on a mutex.
Just checking for _WIN32 doesn't help all the other platforms that are not
posix and are not win32
Between comment 5 (with missing ;;) and comment 14 it should work, I think.