Closed ffontaine closed 3 years ago
Technically, the issue is not with gcc, but with glibc.
uint
and alphasort
come from glibc, and with ancient versions thereof, they were guarded behind different sets of feature-test macros (see manpage for scandir()
for example), which were not default back then.
And for reference: the failing test-case was using glibc-2.18, while the feature-test for alphasort()
changed with glibc-2.19.
Thanks Yann, I updated the PR accordingly
uint and alphasort come from glibc, and with ancient versions thereof, they were guarded behind different sets of feature-test macros (see manpage for scandir() for example), which were not default back then.
Fix them by adding AC_USE_SYSTEM_EXTENSIONS in configure.ac
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com Signed-off-by: Yann E. MORIN yann.morin.1998@free.fr