This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: compiler.h: Fix libc++ build now that _LIBCPP_FALLTHROUGH has gone Author: James Le Cuirot <[email protected]> Date: Sun Aug 3 23:49:56 2025 +0100 This has been dropped in favour of [[__fallthrough__]]. https://github.com/llvm/llvm-project/commit/cb43fe33b5d5084cf3b5a2723a03b692edb68018 Signed-off-by: James Le Cuirot <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> include/compiler.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=7efca94a7ce621dfff2a112478e2c2223df79a40 diff --git a/include/compiler.h b/include/compiler.h index 169247a81493..18718496b428 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -3,7 +3,11 @@ #else #include <ciso646> #ifdef _LIBCPP_VERSION - #define fallthrough _LIBCPP_FALLTHROUGH() + #ifdef _LIBCPP_FALLTHROUGH + #define fallthrough _LIBCPP_FALLTHROUGH() + #else + #define fallthrough [[__fallthrough__]] + #endif // _LIBCPP_FALLTHROUGH #else #ifdef __clang__ #define fallthrough [[clang::fallthrough]]
