Bootstrap failure: fixtests.c fails to compile on solaris2
Bruce Korb
bkorb@pacbell.net
Sun May 27 11:15:00 GMT 2001
Yes, to both, please. I wonder why it worked for me? *sigh*.
> The following patch was sufficient to allow bootstrap to proceed.
> Ok to apply to trunk and branch?
>
> --Kaveh
>
> 2001-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * fixinc/fixtests.c: Declare entries in ENV_TABLE.
>
> diff -rup /tmp/foo/egcs-3.0-CVS20010527/gcc/fixinc/fixtests.c egcs-3.0-CVS20010527/gcc/fixinc/fixtests.c
> --- /tmp/foo/egcs-3.0-CVS20010527/gcc/fixinc/fixtests.c Sat May 26 16:31:43 2001
> +++ egcs-3.0-CVS20010527/gcc/fixinc/fixtests.c Sun May 27 10:54:30 2001
> @@ -47,6 +47,10 @@ Boston, MA 02111-1307, USA. */
>
> #include "fixlib.h"
>
> +#define _ENV_(v,m,n,t) extern tCC* v;
> +ENV_TABLE
> +#undef _ENV_
> +
> typedef apply_fix_p_t t_test_proc PARAMS(( tCC* file, tCC* text ));
>
> typedef struct {
More information about the Gcc-patches
mailing list