Skip to content

Commit c94e8f8

Browse files
committed
Last set of C++ exceptions globally disabled fixes.
1 parent 5fa33bb commit c94e8f8

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

include/quickcpplib/revision.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
2-
#define QUICKCPPLIB_PREVIOUS_COMMIT_REF f3e452e204e282d93edd5ef474bc431f28808db1
3-
#define QUICKCPPLIB_PREVIOUS_COMMIT_DATE "2024-12-05 20:23:07 +00:00"
4-
#define QUICKCPPLIB_PREVIOUS_COMMIT_UNIQUE f3e452e2
2+
#define QUICKCPPLIB_PREVIOUS_COMMIT_REF 5fa33bb7fe98c47fdcd985d6be86be643373c2b2
3+
#define QUICKCPPLIB_PREVIOUS_COMMIT_DATE "2025-01-29 12:47:19 +00:00"
4+
#define QUICKCPPLIB_PREVIOUS_COMMIT_UNIQUE 5fa33bb7

include/quickcpplib/signal_guard.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,11 @@ namespace signal_guard
717717
#endif
718718
template <class R> inline R throw_signal_raised(const raised_signal_info *i)
719719
{
720+
#ifdef __cpp_exceptions
720721
throw signal_raised(signalc(1ULL << i->signo));
722+
#else
723+
abort();
724+
#endif
721725
}
722726
inline bool continue_or_handle(const raised_signal_info * /*unused*/) noexcept
723727
{

0 commit comments

Comments
 (0)