Browse Source

[build] -Wno-implicit-fallthrough for ls-hpack

-Wno-implicit-fallthrough for ls-hpack on cygwin using recent gcc
master
Glenn Strauss 5 months ago
parent
commit
2e0edb8543
  1. 1
      src/ls-hpack/lshpack.c

1
src/ls-hpack/lshpack.c

@ -684,6 +684,7 @@ lshpack_enc_enc_int (unsigned char *dst, unsigned char *const end,
*/
#if __GNUC__
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#if __clang__
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#endif

Loading…
Cancel
Save