Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compilation] PS-9328: Fixed gcc-12 RelWithDebInfo compilation warnin…
…gs (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
- Loading branch information