Commit ae9cf7d
fix: resolve Clang and MSVC CI build failures
Clang (tests-clang):
- Switch from clang-15 to clang-18 (available in Ubuntu noble's standard
repos — no extra PPA needed)
- Remove g++-15 install from Clang job: mixing clang-15 with GCC 15's
stdlib caused std::ranges::empty_view concept resolution failures;
clang-18 + default GCC 14 stdlib is a well-tested combination
MSVC (tests-msvc) and all compilers:
- Add add_compile_definitions(BOOST_UT_DISABLE_MODULE) in tests/CMakeLists.txt
Boost.UT v2.1.0 unconditionally emits 'export module boost.ut' when
__cpp_modules is defined, causing fatal error C3378 under MSVC
(/std:c++latest). Disabling module mode forces header-only inclusion
which works with all three compilers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7af4bbf commit ae9cf7d
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | | - | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments