This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xlc@AIX problems building egcs-19980517. configure questions.


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]