Brad King wrote:
Leonard Ritter wrote:
Leonard Ritter wrote:
hi everyone,

while parsing the headers of a proprietary base library that we use
for game development, gccxml stops with following output:

Error occured while running GCC-XML: xml_find_template_parm
encountered unsupported type field_decl
using the option -E i could track down the problem to this line:

   sDList<sMemoryHeapFreeNode,&sMemoryHeapFreeNode::Node> FreeList;

the compiler simulated is msvc8, most recent cvs build.

I can reproduce the problem like this:

  template <class T, int T::*> class A {};
  struct B { int x; };
  typedef A<B, &B::x> AB;

However, it is just a warning and gccxml still exits with code '0'.  Are
you using some other front end tool that thinks this is an error?
yes, pygccxml. actually it treats any output of gccxml as an error ;)
Anyway, I've committed a fix that should avoid the warning.
thanks :)

_______________________________________________
gccxml mailing list
[email protected]
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to