Skip to content

fix build with -fno-exceptions on gcc14#661

Merged
kris-jusiak merged 1 commit into
boost-ext:masterfrom
PavelGuzenfeld:fix/gcc14-no-exceptions-test-helpers
May 22, 2026
Merged

fix build with -fno-exceptions on gcc14#661
kris-jusiak merged 1 commit into
boost-ext:masterfrom
PavelGuzenfeld:fix/gcc14-no-exceptions-test-helpers

Conversation

@PavelGuzenfeld
Copy link
Copy Markdown
Contributor

static_deque.h and static_queue.h use throw in bodies compiled with -fno-exceptions, which breaks on gcc 14. Replaced with assert. Also removed unused true_guard in states.cpp that triggered -Werror=unused-but-set-variable.

static_deque.h and static_queue.h used throw in bodies that get
compiled with -fno-exceptions, breaking the build on gcc 14.
Replace with assert. Also drop unused true_guard in states.cpp
that triggered -Werror=unused-but-set-variable.
@PavelGuzenfeld PavelGuzenfeld force-pushed the fix/gcc14-no-exceptions-test-helpers branch from 49c69cf to a6c5945 Compare May 21, 2026 23:01
@kris-jusiak kris-jusiak merged commit b1dc703 into boost-ext:master May 22, 2026
1 check passed
@PavelGuzenfeld PavelGuzenfeld deleted the fix/gcc14-no-exceptions-test-helpers branch May 27, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants