This is the mail archive of the gcc-patches@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] |
Other format: | [Raw text] |
On Tue, May 25, 2010 at 04:27:59PM +0100, IainS wrote:/GCC/gcc-live-trunk/gcc/objc/objc-act.c:2089:8: error: passing argument 1
of ‘tree_check_failed’ from incompatible pointer type [-Werror]
/GCC/gcc-live-trunk/gcc/tree.h:879:13: note: expected ‘const_tree’ but
argument is of type ‘struct VEC_constructor_elt_gc * const’
/GCC/gcc-live-trunk/gcc/objc/objc-act.c:2089:8: error:
‘VEC_constructor_elt_gc’ has no member named ‘list’
cc1: all warnings being treated as errors
Pffft, weren't we getting rid of ObjC++ anyway? :)
IIUC the code correctly, something like:
if (!VEC_index (constructor_elt, elts, 0)->index) TREE_TYPE (constructor) = init_list_type_node;
should work--at least to fix the compilation problem.
cheers, Iain
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |