diff --git a/src/libtsduck/base/types/tsCompactBitSet.h b/src/libtsduck/base/types/tsCompactBitSet.h index 870ed2dd8..cecf85dcb 100644 --- a/src/libtsduck/base/types/tsCompactBitSet.h +++ b/src/libtsduck/base/types/tsCompactBitSet.h @@ -56,13 +56,15 @@ namespace ts { //! @tparam BITS Number of bits. Must be in the range 0 to 64. //! template - class TSDUCKDLL CompactBitSet final + class CompactBitSet final { public: // Overflow in position is explicitly ignored. TS_PUSH_WARNING() TS_GCC_NOWARNING(shift-count-overflow) TS_GCC_NOWARNING(shift-negative-value) + TS_MSC_NOWARNING(4310) // cast truncates constant value + TS_MSC_NOWARNING(4293) // '<<' : shift count negative or too big, undefined behavior //! //! Number of bits in this set. @@ -253,7 +255,6 @@ namespace ts { }; } -#if defined(TS_NEED_STATIC_CONST_DEFINITIONS) template constexpr size_t ts::CompactBitSet::SIZE; @@ -262,5 +263,4 @@ constexpr size_t ts::CompactBitSet::MAX; template constexpr typename ts::CompactBitSet::int_t ts::CompactBitSet::ALL; -#endif diff --git a/src/libtsduck/tsVersion.h b/src/libtsduck/tsVersion.h index 856e9aabb..cb88e4f45 100644 --- a/src/libtsduck/tsVersion.h +++ b/src/libtsduck/tsVersion.h @@ -44,4 +44,4 @@ //! //! TSDuck commit number (automatically updated by Git hooks). //! -#define TS_COMMIT 3138 +#define TS_COMMIT 3139