You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: error: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ forming offset 8 is out of the bounds [0, 8] [-Werror=array-bounds=]
#5557
Closed
jiapei100 opened this issue
Apr 30, 2024
· 5 comments
I have the same issue from the tag v5.3.1 and v5.4.0 using g++ 13.2.0 on debian.
When i build with the parameter -DCMAKE_BUILD_TYPE=Debug it compile but when i build with
-DCMAKE_BUILD_TYPE=Release I have the same error and it doesn't compile.
Seems to still be the case with v5.4.1 and both GCC 13.2.0 and GCC 14.0.1. Release and MinSizeRel fail, while Debug and RelWithDebInfo compile fine.
Same version compiles fine under Clang 18.1.3
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Just cmake and build.
Expected behavior
Successfully compiled...
Screenshots
N/A
Platform (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: