bootstraping fails on AIX 5.1 w/ Version 6 AIX compilers

Nathan Zierfuss zierfuss@arsc.edu
Wed Aug 7 12:32:00 GMT 2002


Bootstraping GCC-3.1.1 on AIX 5.1 fails with:

cc -c -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I../../src/gcc 
-I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include 
../../src/gcc/tradcif.c -o tradcif.o
"tradcif.y", line 222.17: 1506-196 (W) Initialization between types 
"unsigned char*" and "const unsigned char*" is not allowed.
"tradcif.y", line 319.12: 1506-068 (W) Operation between types 
"unsigned char*" and "const unsigned char*" is not allowed.
"tradcif.y", line 438.1: 1506-343 (S) Redeclaration of parse_escape 
differs from previous declaration on line 35 of "tradcif.y".
"tradcif.y", line 438.1: 1506-381 (I) The type "const unsigned 
char**" of parameter 1 in the prototype declaration is not 
compatible with the corresponding parameter type "unsigned char**" 
in the nonprototype declaration.

In the past using c89 instead of cc here would get me past this,
however that is not the case when bootstraping with
VisualAge C++ Professional / C for AIX Compiler, Version 6



More information about the Gcc-bugs mailing list