This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4/irix6.5 bootstrap failure in gtype-desc.o
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: David dot Billinghurst at riotinto dot com
- Cc: gcc-bugs at gcc dot gnu dot org, geoffk at geoffk dot org
- Date: Sat, 11 Jan 2003 00:25:26 -0500 (EST)
- Subject: Re: 3.4/irix6.5 bootstrap failure in gtype-desc.o
- References: <FAC87D7C874EAB46A847604DA4FD5A6457D942@crtsmail.corp.riotinto.org>
> gcc-3.4 cvs bootstrap (using cc) fails with
>
> cc -c -g -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I/exd4/billingd/src/gcc/gcc
> -I/exd4/billingd/src/gcc/gcc/. -I/exd4/billingd/src/gcc/gcc/config
> -I/exd4/billingd/src/gcc/gcc/../include gtype-desc.c -o gtype-desc.o
> "gtype-desc.c", line 1013: error(1164): argument of type
> "splay_tree_value" is incompatible with parameter of type "void *"
> gt_ggc_m_9tree_node ((*x).value);
> ^
>
> "gtype-desc.c", line 2139: error(1164): argument of type "splay_tree_key" is
> incompatible with parameter of type "const void *"
> gt_pch_n_S ((*x).key);
> ^
>
> "gtype-desc.c", line 2140: error(1164): argument of type "splay_tree_value" is
> incompatible with parameter of type "void *"
> gt_pch_n_9tree_node ((*x).value);
Grr, me too. These hard errors with irix6 cc yield warnings from gcc
which IMHO should have been caught prior to the merge. Or by some
automated regression checker (hint hint.)
Sigh. I'm giving up on that and leaning towards -Werror now.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu