/home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamReader.cpp:301:29: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] value = ctx.cache & MASK_TABLE[ctx.cacheNumBits]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamReader.cpp:315:81: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] value |= ((ctx.cache >> static_cast(ctx.cacheNumBits - numBits)) & MASK_TABLE[numBits]); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:356:66: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] if (numBits == 0 || numBits > sizeof(uint32_t) * 8 || data > MAX_U32_VALUES[numBits]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:367:66: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] if (numBits == 0 || numBits > sizeof(uint64_t) * 8 || data > MAX_U64_VALUES[numBits]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:378:65: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] if (numBits == 0 || numBits > sizeof(int32_t) * 8 || data < MIN_I32_VALUES[numBits] || ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:379:20: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] data > MAX_I32_VALUES[numBits]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:385:53: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] writeUnsignedBits(static_cast(data) & MAX_U32_VALUES[numBits], numBits); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:390:65: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] if (numBits == 0 || numBits > sizeof(int64_t) * 8 || data < MIN_I64_VALUES[numBits] || ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:391:20: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] data > MAX_I64_VALUES[numBits]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:397:55: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] writeUnsignedBits64(static_cast(data) & MAX_U64_VALUES[numBits], numBits); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:593:31: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] const uint32_t mask = MAX_U32_VALUES[restNumBits]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.cpp:661:73: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] const uint8_t add = static_cast((value >> shiftBits) & bitMasks[numBits - 1U]); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/FileUtil.cpp:19:23: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] if (!stream.write(reinterpret_cast(buffer), static_cast(byteSize))) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/FileUtil.cpp:49:22: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] if (!stream.read(reinterpret_cast(bitBuffer.getBuffer()), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/JsonEncoder.cpp:91:28: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] stream.put(HEX[static_cast(static_cast(character) >> 4U) & 0xFU]); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/JsonEncoder.cpp:92:28: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] stream.put(HEX[static_cast(character) & 0xFU]); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/pmr/MemoryResource.cpp:17:28: warning: variable 'defaultResource' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] static MemoryResource* defaultResource = getNewDeleteResource(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:370:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:730:69: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(NoInit, &m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:734:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:739:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:739:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:740:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:745:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(NoInit, get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:751:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/TrackingAllocator.h:78:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] TrackingAllocatorImpl(const TrackingAllocatorImpl& other) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:370:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:667:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->clone(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:670:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:672:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->clone(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:676:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:684:70: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->clone(NoInit, &m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:687:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:689:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->clone(NoInit, get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:693:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:730:69: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(NoInit, &m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:734:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:739:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:739:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:740:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:745:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(NoInit, get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:751:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/TrackingAllocator.h:78:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] TrackingAllocatorImpl(const TrackingAllocatorImpl& other) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/BitBufferTest.cpp:366:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] readBuffer++; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/BitBufferTest.cpp:380:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] readBuffer++; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/TrackingAllocator.h:78:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] TrackingAllocatorImpl(const TrackingAllocatorImpl& other) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/BuiltInOperatorsTest.cpp:25:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr DummyBitmask(Values value) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeVersion.h:8:9: warning: macro 'CPP_EXTENSION_RUNTIME_VERSION_NUMBER' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] #define CPP_EXTENSION_RUNTIME_VERSION_NUMBER 1000002 ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:95:55: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:113:59: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:176:59: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:212:59: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:342:51: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/DeltaContext.h:369:51: warning: 'signed char' to 'uint64_t' (aka 'unsigned long') conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] m_previousElement = static_cast(element); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Enums.h:93:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return EnumTraits::values[ordinal]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Enums.h:106:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return EnumTraits::names[enumToOrdinal(value)]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:667:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->clone(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:670:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:672:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->clone(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:676:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: warning: function 'parseElement' is within a recursive call chain [misc-no-recursion] void parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: note: example recursive call chain, starting from function 'parseElement' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:189:9: note: Frame #1: function 'parseElement' calls function 'parseArray' here: parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:257:9: note: Frame #2: function 'parseArray' calls function 'parseElements' here: parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: Frame #3: function 'parseElements' calls function 'parseElement' here: parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:159:10: warning: function 'parseObject' is within a recursive call chain [misc-no-recursion] void parseObject(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:160:10: warning: function 'parseMembers' is within a recursive call chain [misc-no-recursion] void parseMembers(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:161:10: warning: function 'parseMember' is within a recursive call chain [misc-no-recursion] void parseMember(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:162:10: warning: function 'parseArray' is within a recursive call chain [misc-no-recursion] void parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:163:10: warning: function 'parseElements' is within a recursive call chain [misc-no-recursion] void parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:113:23: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] m_storage(arr, N) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:73:10: warning: function 'walkFields' is within a recursive call chain [misc-no-recursion] void walkFields(const IBasicReflectableConstPtr& compound, const IBasicTypeInfo& typeInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:75:10: note: example recursive call chain, starting from function 'walkFieldValue' bool walkFieldValue(const IBasicReflectableConstPtr& reflectable, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:546:13: note: Frame #1: function 'walkFieldValue' calls function 'walkFields' here: walkFields(reflectable, typeInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:493:17: note: Frame #2: function 'walkFields' calls function 'walkField' here: walkField(compound->getField(compoundChoice), *fieldsIt); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:521:22: note: Frame #3: function 'walkField' calls function 'walkFieldValue' here: if (!walkFieldValue(reflectable->at(i), fieldInfo, i)) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:521:22: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:74:10: warning: function 'walkField' is within a recursive call chain [misc-no-recursion] bool walkField(const IBasicReflectableConstPtr& reflectable, const BasicFieldInfo& fieldInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:75:10: warning: function 'walkFieldValue' is within a recursive call chain [misc-no-recursion] bool walkFieldValue(const IBasicReflectableConstPtr& reflectable, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyBitmaskValue( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HashCodeUtilTest.cpp:33:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Permissions(Values value) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:216:18: warning: 'optional' used after it was moved [bugprone-use-after-move] ASSERT_FALSE(optional.hasValue()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:212:53: note: move occurred here HeapOptionalHolder> optionalMoved(std::move(optional)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:257:18: warning: 'emptyOptional' used after it was moved [bugprone-use-after-move] ASSERT_FALSE(emptyOptional.hasValue()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:256:53: note: move occurred here HeapOptionalHolder> emptyMoved(std::move(emptyOptional), alloc2); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:359:15: warning: 'optionalVector' used after it was moved [bugprone-use-after-move] ASSERT_EQ(optionalVector.get_allocator(), optionalVectorMoved.get_allocator()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:356:25: note: move occurred here optionalVectorMoved = std::move(optionalVector); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:368:17: warning: 'optionalNp' used after it was moved [bugprone-use-after-move] ASSERT_TRUE(optionalNp.hasValue()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:367:21: note: move occurred here optionalNpMoved = std::move(optionalNp); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:396:54: warning: 'optionalObject' used after it was moved [bugprone-use-after-move] optionalObjectMoved.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:393:24: note: move occurred here optionalObject.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:411:54: warning: 'optionalObject' used after it was moved [bugprone-use-after-move] optionalObjectMoved.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/HeapOptionalHolderTest.cpp:408:24: note: move occurred here optionalObject.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/TrackingAllocator.h:78:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] TrackingAllocatorImpl(const TrackingAllocatorImpl& other) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/InplaceOptionalHolderTest.cpp:276:50: warning: 'optionalObject' used after it was moved [bugprone-use-after-move] optionalObjectMoved.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/InplaceOptionalHolderTest.cpp:273:20: note: move occurred here optionalObject.assign(NoInit, std::move(optionalObject)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: warning: function 'parseElement' is within a recursive call chain [misc-no-recursion] void parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: note: example recursive call chain, starting from function 'parseElement' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:189:9: note: Frame #1: function 'parseElement' calls function 'parseArray' here: parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:257:9: note: Frame #2: function 'parseArray' calls function 'parseElements' here: parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: Frame #3: function 'parseElements' calls function 'parseElement' here: parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:159:10: warning: function 'parseObject' is within a recursive call chain [misc-no-recursion] void parseObject(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:160:10: warning: function 'parseMembers' is within a recursive call chain [misc-no-recursion] void parseMembers(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:161:10: warning: function 'parseMember' is within a recursive call chain [misc-no-recursion] void parseMember(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:162:10: warning: function 'parseArray' is within a recursive call chain [misc-no-recursion] void parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:163:10: warning: function 'parseElements' is within a recursive call chain [misc-no-recursion] void parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:113:23: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] m_storage(arr, N) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:667:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->clone(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:670:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:672:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->clone(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:676:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: warning: function 'parseElement' is within a recursive call chain [misc-no-recursion] void parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:158:10: note: example recursive call chain, starting from function 'parseElement' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:189:9: note: Frame #1: function 'parseElement' calls function 'parseArray' here: parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:257:9: note: Frame #2: function 'parseArray' calls function 'parseElements' here: parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: Frame #3: function 'parseElements' calls function 'parseElement' here: parseElement(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:267:5: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:159:10: warning: function 'parseObject' is within a recursive call chain [misc-no-recursion] void parseObject(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:160:10: warning: function 'parseMembers' is within a recursive call chain [misc-no-recursion] void parseMembers(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:161:10: warning: function 'parseMember' is within a recursive call chain [misc-no-recursion] void parseMember(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:162:10: warning: function 'parseArray' is within a recursive call chain [misc-no-recursion] void parseArray(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/JsonParser.h:163:10: warning: function 'parseElements' is within a recursive call chain [misc-no-recursion] void parseElements(); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:113:23: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] m_storage(arr, N) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyBitmaskValue( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:355:18: note: example recursive call chain, starting from function 'makeAnyValue>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectableConstPtr getFromObject( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectablePtr getFromObject(IBasicReflectable& object, StringView path, size_t pos) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:2023:1: warning: inheriting multiple classes that aren't pure virtual is discouraged [fuchsia-multiple-inheritance] class ReflectableAllocatorHolderBase : public ReflectableBase, public AllocatorHolder ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/PolymorphicAllocatorTest.cpp:58:49: warning: std::move of the variable 'allocator2' of the trivially-copyable type 'pmr::PolymorphicAllocator<>' has no effect; remove std::move() [performance-move-const-arg] pmr::PolymorphicAllocator<> allocator2Moved(std::move(allocator2)); ^~~~~~~~~~ ~ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/PolymorphicAllocatorTest.cpp:78:60: warning: std::move of the variable 'allocator2' of the trivially-copyable type 'pmr::PropagatingPolymorphicAllocator<>' has no effect; remove std::move() [performance-move-const-arg] pmr::PropagatingPolymorphicAllocator<> allocator2Moved(std::move(allocator2)); ^~~~~~~~~~ ~ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:667:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->clone(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:670:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:672:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->clone(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:676:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectableConstPtr getFromObject( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectablePtr getFromObject(IBasicReflectable& object, StringView path, size_t pos) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:2023:1: warning: inheriting multiple classes that aren't pure virtual is discouraged [fuchsia-multiple-inheritance] class ReflectableAllocatorHolderBase : public ReflectableBase, public AllocatorHolder ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:131:17: warning: function 'arraysEqual>' is within a recursive call chain [misc-no-recursion] static bool arraysEqual( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:135:17: warning: function 'compoundsEqual>' is within a recursive call chain [misc-no-recursion] static bool compoundsEqual(const IBasicReflectableConstPtr& lhsCompound, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:146:23: warning: function 'equal>' is within a recursive call chain [misc-no-recursion] bool ReflectableUtil::equal( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:146:23: note: example recursive call chain, starting from function 'equal>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:169:16: note: Frame #1: function 'equal>' calls function 'arraysEqual>' here: return arraysEqual(lhs, rhs); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:192:14: note: Frame #2: function 'arraysEqual>' calls function 'equal>' here: if (!equal(lhsArray->at(i), rhsArray->at(i))) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ReflectableUtil.h:192:14: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:113:23: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] m_storage(arr, N) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/SpanTest.cpp:34:43: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] Span span(vec.data(), vec.data() + vec.size()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/SpanTest.cpp:38:52: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] Span spanStatic(vec.data(), vec.data() + vec.size()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/SpanTest.cpp:45:5: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] int arr[] = {0, 13, 42}; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/StringViewTest.cpp:81:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] ASSERT_EQ(str[i], view[i]); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/StringViewTest.cpp:92:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] ASSERT_EQ(str[i], view.at(i)); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/StringViewTest.cpp:156:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] ASSERT_EQ(str + 2, view.data()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/StringViewTest.cpp:209:19: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] ASSERT_EQ(str + 2, subView.data()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/StringViewTest.cpp:769:5: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] char textWithoutTermZero[] = {'t', 'e', 'x', 't'}; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:47:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(MemoryResource* resource = getDefaultResource()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/pmr/PolymorphicAllocator.h:72:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] PolymorphicAllocatorBase(const PolymorphicAllocatorBase& other) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/TypeInfo.h:1443:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return bitFieldTypeInfoArray[bitSize - 1U]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/TypeInfo.h:1521:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return bitFieldTypeInfoArray[static_cast(bitSize - 1)]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:827:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:90: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Enums.h:106:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return EnumTraits::names[enumToOrdinal(value)]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectableConstPtr getFromObject( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectablePtr getFromObject(IBasicReflectable& object, StringView path, size_t pos) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:2023:1: warning: inheriting multiple classes that aren't pure virtual is discouraged [fuchsia-multiple-inheritance] class ReflectableAllocatorHolderBase : public ReflectableBase, public AllocatorHolder ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/TypeInfo.h:1443:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return bitFieldTypeInfoArray[bitSize - 1U]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/TypeInfo.h:1521:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return bitFieldTypeInfoArray[static_cast(bitSize - 1)]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/ReflectableTest.cpp:22:1: warning: do not use namespace using-directives; use using-declarations instead [google-build-using-namespace] using namespace std::placeholders; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/zserio/TrackingAllocator.h:78:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] TrackingAllocatorImpl(const TrackingAllocatorImpl& other) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectableConstPtr getFromObject( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1951:34: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1963:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: warning: function 'getFromObject>' is within a recursive call chain [misc-no-recursion] IBasicReflectablePtr getFromObject(IBasicReflectable& object, StringView path, size_t pos) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1985:29: note: example recursive call chain, starting from function 'getFromObject>' /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: Frame #1: function 'getFromObject>' calls function 'getFromObject>' here: return isLast ? std::move(field) : getFromObject(*field, path, dotPos + 1); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:1996:48: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Reflectable.h:2023:1: warning: inheriting multiple classes that aren't pure virtual is discouraged [fuchsia-multiple-inheritance] class ReflectableAllocatorHolderBase : public ReflectableBase, public AllocatorHolder ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:73:10: warning: function 'walkFields' is within a recursive call chain [misc-no-recursion] void walkFields(const IBasicReflectableConstPtr& compound, const IBasicTypeInfo& typeInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:75:10: note: example recursive call chain, starting from function 'walkFieldValue' bool walkFieldValue(const IBasicReflectableConstPtr& reflectable, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:546:13: note: Frame #1: function 'walkFieldValue' calls function 'walkFields' here: walkFields(reflectable, typeInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:493:17: note: Frame #2: function 'walkFields' calls function 'walkField' here: walkField(compound->getField(compoundChoice), *fieldsIt); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:521:22: note: Frame #3: function 'walkField' calls function 'walkFieldValue' here: if (!walkFieldValue(reflectable->at(i), fieldInfo, i)) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:521:22: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:74:10: warning: function 'walkField' is within a recursive call chain [misc-no-recursion] bool walkField(const IBasicReflectableConstPtr& reflectable, const BasicFieldInfo& fieldInfo); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Walker.h:75:10: warning: function 'walkFieldValue' is within a recursive call chain [misc-no-recursion] bool walkFieldValue(const IBasicReflectableConstPtr& reflectable, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:61:25: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] m_typedHolder = std::forward(value); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:340:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:355:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:701:61: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.getUntypedHolder()->move(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:705:40: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] else if (other.m_untypedHolder.heap != nullptr) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:710:62: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:711:39: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] other.m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:716:33: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = other.getUntypedHolder()->move(get_allocator_ref()); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:722:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:761:29: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = nullptr; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:767:48: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return (m_isInPlace || m_untypedHolder.heap != nullptr); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:790:74: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] detail::NonHeapHolder::create(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:799:25: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] m_untypedHolder.heap = holder; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:821:75: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return static_cast*>(m_untypedHolder.heap); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:833:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:839:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast*>(&m_untypedHolder.inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:869:78: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:870:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:876:84: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] ? reinterpret_cast*>(&m_untypedHolder.inPlace) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/AnyHolder.h:877:35: warning: do not access members of unions; use (boost::)variant instead [cppcoreguidelines-pro-type-union-access] : m_untypedHolder.heap; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitBuffer.h:275:33: warning: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic] m_buffer(buffer, buffer + (bitSize + 7) / 8, allocator), ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/BitStreamWriter.h:71:5: warning: constructor does not initialize these fields: m_bitIndex, m_bufferBitSize [cppcoreguidelines-pro-type-member-init] explicit BitStreamWriter(BasicBitBuffer& bitBuffer) : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/CppRuntimeException.h:199:18: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] exception << value; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Enums.h:106:12: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] return EnumTraits::names[enumToOrdinal(value)]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:232:15: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr heap_optional_holder(NullOptType, const allocator_type& allocator = allocator_type()) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:242:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(const T& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:252:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] heap_optional_holder(T&& val, const allocator_type& allocator = allocator_type()) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:658:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:668:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] return reinterpret_cast(&m_inPlace); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:694:5: warning: constructor does not initialize these fields: m_storage [cppcoreguidelines-pro-type-member-init] constexpr inplace_optional_holder() noexcept = default; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:699:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr inplace_optional_holder(NullOptType) noexcept ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:707:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(const T& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:718:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] inplace_optional_holder(T&& val) ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:80:15: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default] constexpr Span() noexcept ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(element_type (&arr)[N]) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:112:20: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr Span(element_type (&arr)[N]) noexcept : ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:123:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:125:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:136:64: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:138:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::array& arr) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:84: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:148:93: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] typename std::enable_if<(ext == dynamic_extent) && std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:150:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:74: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:161:83: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] (ext == dynamic_extent) && std::is_convertible::value, int>::type = ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:163:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const std::vector& vec) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:49: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:174:58: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] std::is_convertible::value, ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/Span.h:176:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr Span(const Span& span) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:42:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:43:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:53:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index + 1]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringConvertUtil.h:54:26: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] *(--bufferEnd) = DIGITS[index]; ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:54:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] BasicStringView(const const_pointer str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:76:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] constexpr BasicStringView(const std::basic_string& str) noexcept : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:929:55: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] constexpr BasicStringView makeStringView(const CharT (&str)[N]) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/StringView.h:932:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return BasicStringView(str, str[N - 1] == CharT() ? (N - 1) : N); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:57:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const ALLOC_U& allocator) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/UniquePtr.h:68:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] UniquePtrDeleter(const UniquePtrDeleter& deleter) : ^ explicit /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue &, std::allocator>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: warning: function 'makeAnyValue &, std::allocator>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, std::allocator, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue &, std::allocator>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue &, std::allocator>' calls function 'makeAnyEnumValue, std::allocator, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, std::allocator, 0>' calls function 'makeAnyValue &, std::allocator>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyEnumValue, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:219:18: warning: function 'makeAnyEnumValue, std::allocator, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyEnumValue(T enumRawValue, const IBasicTypeInfo& typeInfo, const ALLOC& allocator) ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue &, std::allocator>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:16: note: Frame #1: function 'makeAnyValue &, std::allocator>' calls function 'makeAnyEnumValue, std::allocator, 0>' here: return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: Frame #2: function 'makeAnyEnumValue, std::allocator, 0>' calls function 'makeAnyValue &, std::allocator>' here: return makeAnyValue(typeInfo.getUnderlyingType(), enumRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:221:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyBitmaskValue( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, std::allocator, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:386:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyBitmaskValue, 0>' here: return makeAnyBitmaskValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:351:12: note: Frame #2: function 'makeAnyBitmaskValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), bitmaskRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:351:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyBitmaskValue( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:26:18: note: example recursive call chain, starting from function 'makeAnyValue>' AnyHolder makeAnyValue(const IBasicTypeInfo& typeInfo, T&& value, const ALLOC& allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:386:16: note: Frame #1: function 'makeAnyValue>' calls function 'makeAnyBitmaskValue, 0>' here: return makeAnyBitmaskValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:351:12: note: Frame #2: function 'makeAnyBitmaskValue, 0>' calls function 'makeAnyValue>' here: return makeAnyValue(typeInfo.getUnderlyingType(), bitmaskRawValue, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:351:12: note: ... which was the starting point of the recursive call chain; there may be other cycles /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] AnyHolder makeAnyBitmaskValue( ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:348:18: warning: function 'makeAnyBitmaskValue, std::allocator, 0>' is within a recursive call chain [misc-no-recursion] /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:382:35: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return makeAnyStringValue(std::forward(value), allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:384:33: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return makeAnyEnumValue(std::forward(value), typeInfo, allocator); ^ /home/runner/work/zserio/zserio/compiler/extensions/cpp/runtime/test/../src/zserio/ZserioTreeCreator.h:386:36: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay] return makeAnyBitmaskValue(std::forward(value), typeInfo, allocator); ^