diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2022-04-01 11:32:32 -0400 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-04-01 12:13:12 -0700 |
commit | f8c39eb07569ff4dbd34eb974e959ea7f768c206 (patch) | |
tree | ada23b609538ca5220939da2d7605508dbde001b | |
parent | 8dd3ace5c35d0054835671a0fe839960b1e2db3a (diff) | |
download | uhd-f8c39eb07569ff4dbd34eb974e959ea7f768c206.tar.gz uhd-f8c39eb07569ff4dbd34eb974e959ea7f768c206.tar.bz2 uhd-f8c39eb07569ff4dbd34eb974e959ea7f768c206.zip |
config: fix clang fallthrough syntax
-rw-r--r-- | host/include/uhd/config.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |