From 868de221e44315b8e6b11ccea12f5ce4aac66e29 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 7 Jan 2021 20:24:02 +0100 Subject: uhd: clang: Fix fallthrough attribute See also: https://clang.llvm.org/docs/AttributeReference.html#fallthrough The attribute was missing a semicolon. --- host/include/uhd/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp index cef957652..99c3731c1 100644 --- a/host/include/uhd/config.hpp +++ b/host/include/uhd/config.hpp @@ -84,7 +84,7 @@ typedef ptrdiff_t ssize_t; # define UHD_ALIGNED(x) __attribute__((aligned(x))) # define UHD_UNUSED(x) x __attribute__((unused)) # if __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 8) -# define UHD_FALLTHROUGH [[clang:fallthrough]] +# define UHD_FALLTHROUGH [[clang:fallthrough]]; # else # define UHD_FALLTHROUGH # endif -- cgit v1.2.3