Hi Bruna, thanks for answering,
On 14.03.23 17:41, Bruno Haible wrote:
The build only fails because coreutils' configure.ac turns warnings into errors by default in some situation.
Obviously, I agree with this on the deprecated functionality warning, but the string method argument overflow warning really triggered my curiosity.
So, this is not a significant bug. It's merely a false positive flagged by your compiler.
Uff! Sorry for the noise then.
There are *many* -Wstringop-overflow bugs in recent GCC versions, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Some of them even have the exact same warning message, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108377
Didn't expect that; I had expected integer derivation warnings are "pretty safe", as integer constant folding is something an optimizing compiler has to do *correctly*, anyway. (and, honestly, coming from a C++ background, these are *a lot of warnings* that we're getting here).
Thanks, Marcus