qt5base-lts/tests/benchmarks/corelib/tools
Marc Mutz 882fc48b9e 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>
2022-06-22 03:09:24 +02:00
..
containers-associative Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
containers-sequential Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcontiguouscache Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcryptographichash Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhash Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qlist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmap Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qrect Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qringbuffer Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qset Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsharedpointer tst_bench_shared_ptr: fix build with BOOST_NO_EXCEPTIONS 2022-06-22 03:09:24 +02:00
qstack Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvector Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00