Annotate intentional handler fallthrough #19

Open
tachikoma wants to merge 1 commits from 18 into main
Collaborator

Fixes #18.

  • Adds a GCC/Clang fallthrough annotation at the public HANDLE_GROUP case boundary.
  • Compiles the existing grouped-handler test with -Werror=implicit-fallthrough on GCC and Clang, so the consumer warning cannot return unnoticed.

Verified with GCC 13: a -Wextra build and all 36 CTest tests pass.

Fixes #18. - Adds a GCC/Clang fallthrough annotation at the public `HANDLE_GROUP` case boundary. - Compiles the existing grouped-handler test with `-Werror=implicit-fallthrough` on GCC and Clang, so the consumer warning cannot return unnoticed. Verified with GCC 13: a `-Wextra` build and all 36 CTest tests pass.
tachikoma added 1 commit 2026-08-02 23:53:45 -04:00
Annotate intentional handler fallthrough
Some checks failed
libakerror CI Build / coverage (push) Successful in 2m51s
libakerror CI Build / cmake_build (push) Successful in 2m53s
libakerror CI Build / thread_sanitizer (push) Failing after 5m53s
libakerror CI Build / mutation_test (push) Successful in 37m49s
a902c95155
Co-authored-by: Andrew Kesterson <andrew@aklabs.net>
Some checks failed
libakerror CI Build / coverage (push) Successful in 2m51s
Required
Details
libakerror CI Build / cmake_build (push) Successful in 2m53s
Required
Details
libakerror CI Build / thread_sanitizer (push) Failing after 5m53s
Required
Details
libakerror CI Build / mutation_test (push) Successful in 37m49s
Required
Details
This pull request doesn't have enough required approvals yet. 0 of 1 approvals granted from users or teams on the allowlist.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 18:18
git checkout 18
Sign in to join this conversation.