This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: xlc@AIX problems building egcs-19980517. configure questions.
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: xlc@AIX problems building egcs-19980517. configure questions.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 20 May 1998 22:42:32 -0600
- cc: egcs-bugs at cygnus dot com, yotam_medini at avanticorp dot com
- Reply-To: law at cygnus dot com
In message <199805201655.MAA12012@caip.rutgers.edu>you write:
> I don't think this problem should be fixed using platform
> specific CFLAGS. It might still be broken for other host's native
> stage1 compiler.
Right.
> What really needs to be done is to change the type of the
> parameter argument `c' in functions type_from_format and
> accessor_from_format in gengenrtl.c from `char' to `int'. Then the
> default promotion rules will make it work. That should cure the above
> error message.
Right. The code is actually incorrect -- ANSI does not allow a
prototype to specify an item smaller than an int if the function
uses an old-style definition.
GNU C allows this as an extension.
> Please try the following patch and let me know if it works for
> you.
I believe your patch is correct. Please install it.
jeff