[cfarm-users] cfarm110 and cfarm111 decommissioning on February 27
Collin Funk
collin.funk1 at gmail.com
Sat Feb 14 07:52:58 CET 2026
Bruno Haible via cfarm-users <cfarm-users at lists.tetaneutral.net> writes:
> 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'} },
> ...
I think newer versions of xlc are based on LLVM so that should be fixed,
hopefully [1].
Collin
[1] https://www.ibm.com/docs/en/openxl-c-and-cpp-aix/17.1.0?topic=migration-migrating-new-llvm-clang-compiler-infrastructure
More information about the cfarm-users
mailing list