You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build the tests for QNX 6.5.0SP1 fails with message:
.../internal/catch_fatal_condition.hpp:139: error: 'SIGSTKSZ' was not declared in this scope
.../internal/catch_fatal_condition.hpp: In constructor 'Catch::FatalConditionHandler::FatalConditionHandler()':
.../internal/catch_fatal_condition.hpp:158: error: 'altStackMem' was not declared in this scope
.../internal/catch_fatal_condition.hpp:159: error: 'SIGSTKSZ' was not declared in this scope
.../internal/catch_fatal_condition.hpp:161: error: 'sigaltstack' was not declared in this scope
.../internal/catch_fatal_condition.hpp:165: error: 'SA_ONSTACK' was not declared in this scope
.../internal/catch_fatal_condition.hpp: In static member function 'static void Catch::FatalConditionHandler::reset()':
.../internal/catch_fatal_condition.hpp:182: error: 'sigaltstack' was not declared in this scope
.../internal/catch_fatal_condition.hpp: At global scope:
.../internal/catch_fatal_condition.hpp:191: error: 'SIGSTKSZ' was not declared in this scope
catch_fatal_condition.hpp:139 Assumes that the constant SIGSTKSZ is defined in the file signal.h, but SIGSTKSZ not declared there. Same error we see with sigaltstack and SA_ONSTACK.
Catch version: v1.7.0-1.9.1
Operating System: QNX 6.5.0SP1
Compiler+version: GCC-5.1
The text was updated successfully, but these errors were encountered:
The error is caused by the fact that your specific C lib does not conform to current POSIX specification.
Short term fix, define CATCH_CONFIG_NO_POSIX_SIGNALS in at least the implementation file (the one where you define CATCH_CONFIG_MAIN or CATCH_CONFIG_RUNNER). Long term, I will end up disabling it for QNX by default as well.
Description
Build the tests for QNX 6.5.0SP1 fails
Steps to reproduce
Version 1.6.1 works fine.
Extra information
Build the tests for QNX 6.5.0SP1 fails with message:
.../internal/catch_fatal_condition.hpp:139: error: 'SIGSTKSZ' was not declared in this scope
.../internal/catch_fatal_condition.hpp: In constructor 'Catch::FatalConditionHandler::FatalConditionHandler()':
.../internal/catch_fatal_condition.hpp:158: error: 'altStackMem' was not declared in this scope
.../internal/catch_fatal_condition.hpp:159: error: 'SIGSTKSZ' was not declared in this scope
.../internal/catch_fatal_condition.hpp:161: error: 'sigaltstack' was not declared in this scope
.../internal/catch_fatal_condition.hpp:165: error: 'SA_ONSTACK' was not declared in this scope
.../internal/catch_fatal_condition.hpp: In static member function 'static void Catch::FatalConditionHandler::reset()':
.../internal/catch_fatal_condition.hpp:182: error: 'sigaltstack' was not declared in this scope
.../internal/catch_fatal_condition.hpp: At global scope:
.../internal/catch_fatal_condition.hpp:191: error: 'SIGSTKSZ' was not declared in this scope
catch_fatal_condition.hpp:139 Assumes that the constant SIGSTKSZ is defined in the file signal.h, but SIGSTKSZ not declared there. Same error we see with sigaltstack and SA_ONSTACK.
The text was updated successfully, but these errors were encountered: