RE: -Wstringop-overflow complains about pointers holding explicitly set addresses
Oh, Sorry I've missed that. Thanks Guy
-Wstringop-overflow complains about pointers holding explicitly set addresses
Hello all, Compiling for RISC-V, I've ran into an error like this: tmp.c:15:3: error: 'memcpy' writing 4 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] 15 | memcpy(&str2->c, &str1->c, sizeof(str2->c)); | ^~