]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
this is only for clang
authorAlan T. DeKok <aland@freeradius.org>
Sat, 20 Nov 2021 17:37:47 +0000 (12:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 20 Nov 2021 17:37:47 +0000 (12:37 -0500)
src/lib/util/token.c

index ced2de6222740870a532c4805f00eb589f1c5ea5..2950cde0df1af26feea6ba697af5abaf6b9c4e2d 100644 (file)
@@ -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
  *