Commit 224b755
fix GCC 16 false positive breaking unit test framework shared build
Use <warnings-as-errors>off instead of <warnings>off for the
boost_unit_test_framework dependency. GCC 16 fires a spurious
-Warray-bounds in Boost.Test's junit_log_formatter.hpp when compiling
unit_test_log.cpp in shared-link mode; <warnings>off does not suppress
-Werror, so the .so fails to build. Same pattern used by Boost.Redis
and Boost.MySQL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 49a3b11 commit 224b755
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments