From: Alan T. DeKok Date: Sat, 20 Nov 2021 17:37:47 +0000 (-0500) Subject: this is only for clang X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c5100b5fc8198de8e4ccb4fa439d29c5e0eb53;p=thirdparty%2Ffreeradius-server.git this is only for clang --- diff --git a/src/lib/util/token.c b/src/lib/util/token.c index ced2de62227..2950cde0df1 100644 --- a/src/lib/util/token.c +++ b/src/lib/util/token.c @@ -119,7 +119,9 @@ char const *fr_tokens[T_TOKEN_LAST] = { /* * This is fine. Don't complain. */ +#ifdef __clang__ #pragma clang diagnostic ignored "-Wgnu-designator" +#endif /** Convert tokens back to a quoting character *