Skip to content

fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> #37

fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte>

fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> #37

Triggered via pull request February 28, 2025 21:08
@AltrenAltren
synchronize #369
Altren:llvm-18
Status Failure
Total duration 10m 3s
Artifacts

linux-cxx23.yaml

on: pull_request
Matrix: linux
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 18 warnings
(gcc-13): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-13): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-13): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-13)
Process completed with exit code 1.
(gcc-14): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-14): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-14): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-14): include/rfl/internal/enums/StringConverter.hpp#L39
static assertion failed: No enum could be identified. Please choose enum values between 0 to 127 or for flag enums choose 1,2,4,8,16,...
(gcc-14): include/rfl/bson/Reader.hpp#L124
expected ‘,’ or ‘;’ before ‘return’
(gcc-14)
Process completed with exit code 1.
(gcc-13)
‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 2 and 9223372036854775803 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
(gcc-13)
‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 2 and 9223372036854775803 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-13)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 2 and 9223372036854775803 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
(gcc-14)
‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 2 and 9223372036854775803 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]
(gcc-14)
implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated]