]> git.ipfire.org Git - thirdparty/samba.git/commit
third_party:quic Fix compilation with clang-20
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 14 Aug 2025 21:33:24 +0000 (09:33 +1200)
committerBjörn Baumbach <bb@sernet.de>
Wed, 20 Aug 2025 14:03:33 +0000 (14:03 +0000)
commitde7932ea8d12348208f50f7b050b826d236ea597
tree96b2b37be19a5d0c35b162500dfc058a6e4e2f6f
parent149933854f39b4628b14abc5dcd57e73e2a0a637
third_party:quic Fix compilation with clang-20

Add -Wno-error=format-nonliteral so that quic builds with clang 20

../../third_party/quic/libquic/handshake.c:106:35: error:
   format string is not a string literal [-Werror,-Wformat-nonliteral]
  106 |         rc = vsnprintf(msg, sizeof(msg), fmt, arg);
      |                                          ^~~
../../third_party/quic/libquic/handshake.c:135:35: error:
   format string is not a string literal [-Werror,-Wformat-nonliteral]
  135 |         rc = vsnprintf(msg, sizeof(msg), fmt, arg);
      |                                          ^~~
../../third_party/quic/libquic/handshake.c:164:35: error:
   format string is not a string literal [-Werror,-Wformat-nonliteral]
  164 |         rc = vsnprintf(msg, sizeof(msg), fmt, arg);
      |                                          ^~~

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
third_party/quic/wscript