Release 2.11.1: fix clang compilation

This commit is contained in:
Dmitri Tikhonov 2020-02-24 12:15:23 -05:00
parent bc520ef752
commit abc972dafe
4 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
2020-02-24
- 2.11.0
- 2.11.1
- [FEATURE] QUIC and HTTP/3 Internet Draft 27 support.
- [FEATURE] Add experimental delayed ACKs extension.
- Drop support for Internet Draft 24.

View File

@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
# The short X.Y version
version = u'2.11'
# The full version, including alpha/beta/rc tags
release = u'2.11.0'
release = u'2.11.1'
# -- General configuration ---------------------------------------------------

View File

@ -25,7 +25,7 @@ extern "C" {
#define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 11
#define LSQUIC_PATCH_VERSION 0
#define LSQUIC_PATCH_VERSION 1
/**
* Engine flags:

View File

@ -202,7 +202,11 @@ lsquic_tp_encode (const struct transport_params *params, int is_server,
= vint_val2bits(enum_2_tpi_val[TPI_ORIGINAL_CONNECTION_ID]);
#if __GNUC__
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#if __clang__
#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"
#else
#pragma GCC diagnostic ignored "-Wtype-limits"
#endif
#endif
bits[TPI_ORIGINAL_CONNECTION_ID][1]
= vint_val2bits(params->tp_original_cid.len);