possible but in termio.h
Klaus Dittrich
kladit@t-online.de
Tue Jul 1 14:21:56 GMT 2025
I installed glibc-2.41.9000-486-g632d895f3e.
Afterwards I tried to compile gcc (GCC) 14.3.1 20250627.
This failed with this error:
/sources/gcc/gcc-14-20250627/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:592:10:
warning: ISO C++ prohibits anonymous structs [-Wpedantic]
592 | struct {
| ^
/sources/gcc/gcc-14-20250627/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:483:31:
error: invalid application of 'sizeof' to incomplete type
'__sanitizer::termio'
483 | unsigned struct_termio_sz = sizeof(struct termio);
With my last installation of glibc: glibc-2.41.9000-462-g69f8b3e7de
the same gcc installed without error.
Is this a bug or is anything wrong with my setup?
Any help welcome.
Please cc me.
--
Regards Klaus
e-mail: kladit@t-online.de
More information about the Libc-alpha
mailing list