From f8c39eb07569ff4dbd34eb974e959ea7f768c206 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Fri, 1 Apr 2022 11:32:32 -0400 Subject: config: fix clang fallthrough syntax --- host/include/uhd/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp index a0289ca1a..2c65f4669 100644 --- a/host/include/uhd/config.hpp +++ b/host/include/uhd/config.hpp @@ -84,7 +84,7 @@ typedef SSIZE_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