On 2025-01-14 11:46, Pádraig Brady wrote:
Testing https://www.pixelbeat.org/co/coreutils-ss.tar.xz on solaris 11
(cfarm216.cfarm.net)
I get a build failure (with gcc 14) due to an already known issue on
solaris where it
defines a two param static_assert() macro.
CC lib/libcoreutils_a-xfts.o
./lib/dirent.h:100:36: error: macro "static_assert" requires 2
arguments, but only 1 given
/usr/include/assert.h:25:9: note: macro "static_assert" defined here
| #if (__STDC_VERSION__ - 0 >= 201112L) && !defined(__cplusplus)
25 | #define static_assert(a, b) _Static_assert(a, b)
| ^~~~~~~~~~~~~
| #endif
Odd, I'm not seeing this on cfarm216.cfarm.net. I did a plain
'configure'. The compiler is /usr/bin/gcc, which says it is GCC 14.2.0.
I used coreutils commit 75e2224ae27f0c6078bddcd194a77f4ee0c8594a.