timeout.c compilation on ibm
Posted: Fri Feb 25, 2011 10:02 pm
On my IBM xlf 12.1 linux platform I still have a problem with the latest 6.7.0 version of timeout.c:
mpicc -DHAVE_CONFIG_H -I. -I../.. -I../../../tests/Nightly -O0 -qlanglvl=stdc99 -O3 -q64 -qspill=2000 -qarch=pwr6 -qtune=auto -qcache=auto -qstrict -qsuppress=1520-031:1520-003 -c -o timeout-timeout.o `test -f 'timeout.c' || echo '../../../tests/Nightly/'`timeout.c
1506-352 (W) An invalid combination of the -qarch and -qtune options has been specified. The -qtune option is ignored.
"../../../tests/Nightly/timeout.c", line 131.28: 1506-280 (S) Function argument assignment between types "union {...}" and "int*" is not allowed.
Does not influence normal abinit build, but nightly fails.
Matthieu
mpicc -DHAVE_CONFIG_H -I. -I../.. -I../../../tests/Nightly -O0 -qlanglvl=stdc99 -O3 -q64 -qspill=2000 -qarch=pwr6 -qtune=auto -qcache=auto -qstrict -qsuppress=1520-031:1520-003 -c -o timeout-timeout.o `test -f 'timeout.c' || echo '../../../tests/Nightly/'`timeout.c
1506-352 (W) An invalid combination of the -qarch and -qtune options has been specified. The -qtune option is ignored.
"../../../tests/Nightly/timeout.c", line 131.28: 1506-280 (S) Function argument assignment between types "union {...}" and "int*" is not allowed.
Does not influence normal abinit build, but nightly fails.
Matthieu