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 bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope


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.


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