> 2011-07-31 Bruno Haible <[email protected]> > > Add support for Minix with ACK compiler.
But even without this patch, the ACK compiler is a no-go for three reasons: 1) It does not support 'long long'. cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o strerror_r.o strerror_r.c "///usr/include/wchar.h", line 146: repeated size specifier "///usr/include/wchar.h", line 149: repeated size specifier *** Error code 1 (continuing) cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o mktime.o mktime.c "mktime.c", line 74: repeated size specifier cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o vasnprintf.o vasnprintf.c "vasnprintf.c", line 329: repeated size specifier 2) It has serious problems with array types. cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o regex.o regex.c "./regex_internal.h", line 763: operand of = is read-only "./regex_internal.h", line 778: operand of = is read-only "./regex_internal.h", line 780: operand of = is read-only "./regex_internal.h", line 790: operand of |= is read-only "./regex_internal.h", line 798: operand of &= is read-only "./regcomp.c", line 955: operand of |= is read-only "./regcomp.c", line 2736: (strict) qualifier error "./regcomp.c", line 2763: (strict) qualifier error "./regcomp.c", line 3503: (strict) qualifier error "./regcomp.c", line 3568: (strict) qualifier error "./regcomp.c", line 3568: (strict) qualifier error "./regcomp.c", line 3570: (strict) qualifier error "./regcomp.c", line 3570: (strict) qualifier error "./regcomp.c", line 3572: (strict) qualifier error "./regcomp.c", line 3572: (strict) qualifier error "./regcomp.c", line 3574: (strict) qualifier error "./regcomp.c", line 3574: (strict) qualifier error "./regcomp.c", line 3576: (strict) qualifier error "./regcomp.c", line 3576: (strict) qualifier error "./regcomp.c", line 3578: (strict) qualifier error "./regcomp.c", line 3578: (strict) qualifier error "./regcomp.c", line 3580: (strict) qualifier error "./regcomp.c", line 3580: (strict) qualifier error "./regcomp.c", line 3582: (strict) qualifier error "./regcomp.c", line 3582: (strict) qualifier error "./regcomp.c", line 3584: (strict) qualifier error "./regcomp.c", line 3584: (strict) qualifier error "./regcomp.c", line 3586: (strict) qualifier error "./regcomp.c", line 3586: (strict) qualifier error "./regcomp.c", line 3588: (strict) qualifier error "./regcomp.c", line 3588: (strict) qualifier error "./regcomp.c", line 3590: (strict) qualifier error "./regcomp.c", line 3590: (strict) qualifier error "./regexec.c", line 3610: (strict) qualifier error "./regexec.c", line 3624: (strict) qualifier error "./regexec.c", line 3626: (strict) qualifier error "./regexec.c", line 3653: (strict) qualifier error "./regexec.c", line 3678: operand of &= is read-only "./regexec.c", line 3697: operand of &= is read-only "./regexec.c", line 3719: operand of = is read-only "./regexec.c", line 3728: operand of = is read-only "./regexec.c", line 3729: operand of = is read-only *** Error code 1 (continuing) 3) It chokes on valid code that ought to produce a division by zero at runtime: cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o isnand.o isnand.c "./isnan.c", line 133: division by 0.0 "./isnan.c", line 134: division by 0.0 "./isnan.c", line 135: division by 0.0 *** Error code 1 (continuing) cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o isnanf.o isnanf.c "./isnan.c", line 133: division by 0.0 "./isnan.c", line 134: division by 0.0 "./isnan.c", line 135: division by 0.0 *** Error code 1 (continuing) Thomas, can you please report these compiler bugs to the ACK maintainers? Bruno -- In memoriam Jean Jaurès <http://en.wikipedia.org/wiki/Jean_Jaurès>
