[PATCH v3 0/7] Assume certain compiler features are available
Alejandro Colomar
alx@kernel.org
Mon Nov 10 14:17:21 GMT 2025
Hi!
I've changed the approach to this patch set. I'm assuming certain
features, instead of compiler versions. This should make it easier to
discover if any of these features are not supported by certain
compilers. Hopefully, we should be able to apply some of these patches.
Also, for now I'll try with a very reduced set of features, compared to
previous versions of this patch set.
Have a lovely day!
Alex
Alejandro Colomar (7):
Assume support for #warning
malloc/obstack.h: Assume GCC supports __extension__
Assume support for __extension__ ({ })
include/features.h: If __GNUC__, assume defined(__GNUC_MINOR__)
include/limits.h: Assume GCC defines LLONG_{MAX,MIN} and ULLONG_MAX
Assume GCC defines va_list
stdio-common/vfscanf-internal.c: Assume support for 'long long'
argp/argp-help.c | 4 +-
assert/assert.h | 2 +-
include/features.h | 2 +-
include/limits.h | 15 ----
inet/netinet/in.h | 53 ++----------
libio/stdio.h | 7 +-
malloc/obstack.h | 144 ++++----------------------------
math/math.h | 2 +-
stdio-common/vfscanf-internal.c | 11 +--
stdlib/setenv.c | 3 +-
time/strptime_l.c | 8 +-
wcsmbs/wchar.h | 7 +-
12 files changed, 34 insertions(+), 224 deletions(-)
1: c9556c3853 Assume support for #warning
2: be3612db57 malloc/obstack.h: Assume GCC supports __extension__
3: 808bc3feff Assume support for __extension__ ({ })
4: 8905271432 include/features.h: If __GNUC__, assume defined(__GNUC_MINOR__)
5: c7e22e96bb include/limits.h: Assume GCC defines LLONG_{MAX,MIN} and ULLONG_MAX
6: 556aae80a5 Assume GCC defines va_list
7: 1d9d1e6e0b stdio-common/vfscanf-internal.c: Assume support for 'long long'
base-commit: 6dbaed693a2497e06292ad12b0c7dfea10e087b3
--
2.51.0
More information about the Libc-alpha
mailing list