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 compilation with libcxx Author: Rosen Penev <ros...@gmail.com> Date: Tue Apr 28 21:06:25 2020 -0700 The fallthrough define doesn't work properly with libcxx. Use the included macro. Signed-off-by: Rosen Penev <ros...@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> include/compiler.h | 5 +++++ 1 file changed, 5 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=815ad0518dcdc69211658c5517669e2c41726dbb diff --git a/include/compiler.h b/include/compiler.h index 22fa660ba7ad..53d9b7ec4dee 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -1,5 +1,9 @@ #ifdef __cplusplus +#ifdef _LIBCPP_VERSION +#define fallthrough _LIBCPP_FALLTHROUGH() +#else + #ifdef __clang__ #define fallthrough [[clang::fallthrough]] #else @@ -7,3 +11,4 @@ #endif #endif +#endif _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits