gcc 15 is more strict with syntax, software developers should correct their syntax

El 2/3/26 a las 16:30, Erwan RIGOLLOT escribió:
Hello,

With NTP, I get similar error :

./../include/l_stdlib.h:225:14: error: expected identifier or '(' before 
'_Generic'

I try three version of gcc :
gcc-config -l
   [1] x86_64-pc-linux-gnu-11.2.0
   [2] x86_64-pc-linux-gnu-14
   [3] x86_64-pc-linux-gnu-15 *

This package not very important for my usage so I remove it from World.

But, it's strange, if anyone have an idea.

Thanks

Erwan


De : Erwan RIGOLLOT <[email protected]>
Envoyé : dimanche 1 mars 2026 17:32
À : [email protected]
Objet : Re: [gentoo-user] emerge =sys-apps/coreutils-9.8-r1

Thanks a lot, it's ok with gcc 14.
So I'm continuing with the update !

Erwan RIGOLLOT

________________________________
De : Javier Martinez <[email protected]<mailto:[email protected]>>
Envoyé : dimanche, mars 1, 2026 2:50:55 PM
À : [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Objet : Re: [gentoo-user] emerge =sys-apps/coreutils-9.8-r1

El 1/3/26 a las 14:36, Erwan RIGOLLOT escribió:
./lib/wchar.h:841:23: error: expected identifier or '(' before '_Generic'
841 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t 
__n)
| ^~~~~~~
make[2]: *** [Makefile:16639: lib/libcoreutils_a-mbchar.o] Error 1
can you test with gcc 14?


Attachment: OpenPGP_0x57E64E0B7FC3BEDF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to