[cfarm-users] cfarm110 and cfarm111 decommissioning on February 27
Bruno Haible
bruno at clisp.org
Sat Feb 14 07:36:41 CET 2026
Jeffrey Walton wrote:
> xlc had its own personality.
Yuck. Claims to support ISO C 99, but in fact doesn't: it can't grok
ISO C 99 compound literals and thus does not compile current GNU coreutils:
xlc -q64 -qthreaded -qtls -qlanglvl=extc1x -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -I/home/haible/prefix64/include -D_THREAD_SAFE -g -c -o src/ls.o ../src/ls.c
"../src/ls.c", line 628.27: 1506-196 (W) Initialization between types "const char*" and "int" is not allowed.
"../src/ls.c", line 628.34: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members.
where ls.c has code like this:
static struct bin_str color_indicator[] =
{
{ 2, (char const []) {'\033','['} },
{ 1, (char const []) {'m'} },
...
More information about the cfarm-users
mailing list