diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-06-17 08:42:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-06-22 03:09:24 +0200 |
commit | 882fc48b9e0966c8d93ce71e0843a3c50da97be8 (patch) | |
tree | 93da107599780472c9ea8dc4d3cf57ea42b8971f /src/corelib/thread/qthread.cpp | |
parent | bf3fc5c95cb4e6acedf242c00b7a1c3b455062bb (diff) |
tst_bench_shared_ptr: fix build with BOOST_NO_EXCEPTIONS
If, for whatever reason, BOOST_NO_EXCEPTIONS is defined, the user of
the Boost libraries is supposed to provide a definition of
boost::throw_exception, which we didn't.
We used to run into this only on ubsan builds, but it seems we now
have the problem on a regular Ubuntu 22.04 build, too (cf. bugreport).
Fix by adding the necessary definitions.
Fixes: QTBUG-104083
Pick-to: 6.4 6.3
Change-Id: I9b061a158a5b77e8d286bd7b40312e5bc63ee8de
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions