I am trying to install the latest version (20010623) of GPC. However, during the make I get the following error:
-------------------------------------------- In file included from /usr/pgmdev/gcc-2.95.2/gcc/p/gpc-common.c:35: /usr/pgmdev/gcc-2.95.2/gcc/p/util.h:196: conflicting types for `concat' /usr/pgmdev/gcc-2.95.2/gcc/p/../../include/libiberty.h:48: previous declaration of `concat' make[1]: *** [gpc-common.o] Error 1 --------------------------------------------
in include\libiberty.h:48 - extern char *concat PARAMS ((const char *, ...));
in gcc-2.95.2/gcc/p/util.h:196 - extern char *concat PARAMS ((char *, ...));
Pls advise which one is correct. Or is there a switch/directive to disregard this error? I am installing on an Intel x86/Solaris 7 platform using GCC 2.95.2. I pulled down the GCC source from the Sunfreeware site and the GPC source from the GPC site.
Pls advise also if there are other potential problems that have already been reported and addressed. By the way the link to the GPC mailing list archive http://www.gnu.de/archive/wilma.cgi/gpc is broken.
Regards,
Jing Gloria Texas Instruments