⚗️ update warning flags

This commit is contained in:
Niels Lohmann 2021-08-17 12:03:35 +02:00
parent 57dd00f410
commit c232ac39c0
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
5 changed files with 13 additions and 13 deletions

View File

@ -110,13 +110,13 @@ set(CLANG_CXXFLAGS "-std=c++11 \
") ")
# Ignored GCC warnings: # Ignored GCC warnings:
# -Wno-abi-tag We do not care about ABI tags. # -Wno-abi-tag We do not care about ABI tags.
# -Wno-aggregate-return The library uses aggregate returns. # -Wno-aggregate-return The library uses aggregate returns.
# -Wno-long-long The library uses the long long type to interface with system functions. # -Wno-long-long The library uses the long long type to interface with system functions.
# -Wno-namespaces The library uses namespaces. # -Wno-namespaces The library uses namespaces.
# -Wno-padded We do not care about padding warnings. # -Wno-padded We do not care about padding warnings.
# -Wno-system-headers We do not care about warnings in system headers. # -Wno-system-headers We do not care about warnings in system headers.
# -Wno-templates The library uses templates. # -Wno-templates The library uses templates.
set(GCC_CXXFLAGS "-std=c++11 \ set(GCC_CXXFLAGS "-std=c++11 \
-pedantic \ -pedantic \

View File

@ -64,4 +64,4 @@ type `#!cpp binary_t*` must be dereferenced.
## Version history ## Version history
- Added in version 3.8.0. Changed type of subtype to `std::uint64_t` in version 3.9.2. - Added in version 3.8.0. Changed type of subtype to `std::uint64_t` in version 3.10.0.

View File

@ -22,4 +22,4 @@ store
## Version history ## Version history
- Added in version 3.9.0. Added value `store` in 3.9.2. - Added in version 3.9.0. Added value `store` in 3.10.0.

View File

@ -18,7 +18,7 @@ order to override the binary type.
@tparam BinaryType container to store bytes (`std::vector<std::uint8_t>` by @tparam BinaryType container to store bytes (`std::vector<std::uint8_t>` by
default) default)
@since version 3.8.0; changed type of subtypes to std::uint64_t in 3.9.2. @since version 3.8.0; changed type of subtypes to std::uint64_t in 3.10.0.
*/ */
template<typename BinaryType> template<typename BinaryType>
class byte_container_with_subtype : public BinaryType class byte_container_with_subtype : public BinaryType
@ -108,7 +108,7 @@ class byte_container_with_subtype : public BinaryType
subtype subtype
@since version 3.8.0; fixed return value to properly return @since version 3.8.0; fixed return value to properly return
subtype_type(-1) as documented in version 3.9.2 subtype_type(-1) as documented in version 3.10.0
*/ */
constexpr subtype_type subtype() const noexcept constexpr subtype_type subtype() const noexcept
{ {

View File

@ -5004,7 +5004,7 @@ order to override the binary type.
@tparam BinaryType container to store bytes (`std::vector<std::uint8_t>` by @tparam BinaryType container to store bytes (`std::vector<std::uint8_t>` by
default) default)
@since version 3.8.0; changed type of subtypes to std::uint64_t in 3.9.2. @since version 3.8.0; changed type of subtypes to std::uint64_t in 3.10.0.
*/ */
template<typename BinaryType> template<typename BinaryType>
class byte_container_with_subtype : public BinaryType class byte_container_with_subtype : public BinaryType
@ -5094,7 +5094,7 @@ class byte_container_with_subtype : public BinaryType
subtype subtype
@since version 3.8.0; fixed return value to properly return @since version 3.8.0; fixed return value to properly return
subtype_type(-1) as documented in version 3.9.2 subtype_type(-1) as documented in version 3.10.0
*/ */
constexpr subtype_type subtype() const noexcept constexpr subtype_type subtype() const noexcept
{ {