Hello All,
I ran into an unsupported template parm "typeof_type". I created a
patch of my fix against the latest gccxml from cvs Please find it
attached.
Cheers,
Kyle
? segfault_and_return_expr.patch
? template-typeof.patch
Index: GCC/gcc/cp/xml.c
===================================================================
RCS file: /cvsroot/GCC_XML/gccxml/GCC/gcc/cp/xml.c,v
retrieving revision 1.129
diff -u -p -r1.129 xml.c
--- GCC/gcc/cp/xml.c 18 Jan 2010 16:42:37 -0000 1.129
+++ GCC/gcc/cp/xml.c 25 Jan 2010 20:23:08 -0000
@@ -3054,6 +3054,7 @@ xml_find_template_parm (tree t)
case TEMPLATE_TEMPLATE_PARM: return 1;
case TEMPLATE_PARM_INDEX: return 1;
case TYPENAME_TYPE: return 1;
+ case TYPEOF_TYPE: return 1;
case BOUND_TEMPLATE_TEMPLATE_PARM: return 1;
/* A constant or variable declaration is encountered when a
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml