Steve M. Robbins wrote: > Okay, the problem is not gccxml. I can do this successfully > > $ cat test.cc > #include <complex> > $ gccxml test.cc > > But the ITK build puts a bunch of include directories, including > /usr/include. Doing this causes the problem: > > $ gccxml -I/usr/include test.cc > > > In file included from /usr/include/c++/4.3/complex:51, > from test.cc:1: > /usr/include/c++/4.3/cmath:51:23: error: math.h: No such file or > directory
Ahh...and -I/usr/include causes gcc (inside gccxml) to remove it from later in the include path and therefore not found by include_next. However, I think it is still a gccxml problem because g++-4.3 -I/usr/include test.cc works. I'll need to investigate it further. Please submit a bug report: http://www.gccxml.org/Bug Thanks, -Brad _______________________________________________ gccxml mailing list [email protected] http://www.gccxml.org/mailman/listinfo/gccxml
