-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for QNX 7.1 #301
Support for QNX 7.1 #301
Conversation
Without specifying _XOPEN_SOURCE>=600, QNX 7.1 fails with: /target/qnx7/usr/include/c++/v1/__threading_support: In function 'int std::__1::__libcpp_condvar_timedwait(std::__1::__libcpp_condvar_t*, std::__1::__libcpp_mutex_t*, timespec*)': /target/qnx7/usr/include/c++/v1/__threading_support:293:10: error: 'pthread_cond_timedwait' was not declared in this scope return pthread_cond_timedwait(__cv, __m, __ts); ^~~~~~~~~~~~~~~~~~~~~~ /target/qnx7/usr/include/c++/v1/__threading_support:293:10: note: suggested alternative: 'pthread_cond_wait' return pthread_cond_timedwait(__cv, __m, __ts); ^~~~~~~~~~~~~~~~~~~~~~ pthread_cond_wait
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you post the full error message? The part of the error message that you posted mentions pthread_cond_timedwait
but I don't see how that is used by this file. It also seems weird that if this change is to fix pthread_cond_timedwait
that the #define
is going into a block guarded by #if defined(HAS_STRPTIME) && HAS_STRPTIME
.
Sure. This is from a conan build with a QNX profile I set up.
|
I'm reconsidering this PR. My toolchain used to define
As hard as I try, I can't show that this statement is in any way true. Re-enabling this in a QNX toolchain ( |
Without specifying
_XOPEN_SOURCE
>=600, QNX 7.1 (ntoaarch64le) fails with: