This commit is contained in:
Nikita Mikhaylov 2021-09-08 17:33:40 +00:00
parent 107710e618
commit dcf7cb4a5c
6 changed files with 16 additions and 5 deletions

View File

@ -191,5 +191,16 @@ elseif (COMPILER_GCC)
# 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
# For some reason (bug in gcc?) macro 'GCC diagnostic ignored "-Wstringop-overflow"' doesn't help.
add_cxx_compile_options(-Wno-stringop-overflow)
# reinterpretAs.cpp:182:31: error: void* memcpy(void*, const void*, size_t) copying an object of non-trivial type
# using ToFieldType = using FieldType = using UUID = struct StrongTypedef<wide::integer<128, unsigned int>, DB::UUIDTag>
# {aka struct StrongTypedef<wide::integer<128, unsigned int>, DB::UUIDTag>} from an array of const char8_t
add_cxx_compile_options(-Wno-error=class-memaccess)
endif()
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11)
# reinterpretAs.cpp:182:31: error: void* memcpy(void*, const void*, size_t) copying an object of non-trivial type
# using ToFieldType = using FieldType = using UUID = struct StrongTypedef<wide::integer<128, unsigned int>, DB::UUIDTag>
# {aka struct StrongTypedef<wide::integer<128, unsigned int>, DB::UUIDTag>} from an array of const char8_t
add_cxx_compile_options(-Wno-error=class-memaccess)
endif()
endif ()

2
contrib/fastops vendored

@ -1 +1 @@
Subproject commit 88752a5e03cf34639a4a37a4b41d8b463fffd2b5
Subproject commit ac7ca8898589f63f0e7e904199469730d96aefa5

2
contrib/llvm vendored

@ -1 +1 @@
Subproject commit e5751459412bce1391fb7a2e9bbc01e131bf72f1
Subproject commit 80b3a6fd1be8249f613b945ff49c24d3ee31d6e6

2
contrib/rocksdb vendored

@ -1 +1 @@
Subproject commit b6480c69bf3ab6e298e0d019a07fd4f69029b26a
Subproject commit 22690ed890fc99873089abcdfc0977182e757c91

View File

@ -106,7 +106,7 @@ namespace DB
std::string CompressionCodecEncrypted::lastErrorString()
{
std::array<char, 1024> buffer;
std::array<char, 1024> buffer{};
ERR_error_string_n(ERR_get_error(), buffer.data(), buffer.size());
return std::string(buffer.data());
}

View File

@ -12,7 +12,7 @@
"with_coverage": false
},
{
"compiler": "clang-12",
"compiler": "gcc-11",
"build-type": "",
"sanitizer": "",
"package-type": "performance",