On 27/08/2024 22:34, Paul Eggert wrote:
I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu
24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14".
What GCC version are you using? If it's not GCC 14, try upgrading. I'm
using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20
Am 27.08.24 um 23:34 schrieb Paul Eggert:
I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu
24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14".
What GCC version are you using? If it's not GCC 14, try upgrading. I'm
using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.
I'm not seeing that false alarm when building coreutils v9.5 on Ubuntu
24.04 LTS with "./configure --enable-gcc-warnings CC=gcc-14".
What GCC version are you using? If it's not GCC 14, try upgrading. I'm
using gcc-14 (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20240412
(experimental) [master r14-9935
Hi,
In function 'canonicalize_filename_mode_stk',
inlined from 'canonicalize_filename_mode' at lib/canonicalize.c:464:18,
inlined from 'get_dev' at src/df.c::26:
lib/canonicalize.c:383:33: error: 'end_idx' may be used uninitialized
[-Werror=maybe-uninitialized]
383 |