Bruno Haible
2018-05-11 01:14:58 UTC
To simplify this sort of thing in the future, I suggest that Gnulib drop
support for IRIX
The simplification would not have been big: IRIX is just one among 12 platforms.support for IRIX
The issue here was that we attempted to have a unique code for all 12
platforms, and this requires a systematic approach and a bit of constraint
solving. This kind of constraint solving does not scale: it may not work with
50 platforms.
The alternative would be to split the set of platforms into groups (say,
glibc platforms, BSD platforms, Solaris, etc.) and use a #if branch for each
platform group. The result would be longer code, but way more maintainable.
Bruno