On Fri, May 30, 2008 at 11:41:43AM -0500, Steve M. Robbins wrote:
> On Fri, May 30, 2008 at 09:07:57AM -0400, Brad King wrote:
> 
> > It works fine on my debian 'testing' system.
> 
> OK, good to hear.  
> 
> I should have been more precise: this is a system where GCC 4.3 is the
> default compiler.  Among other things, gccxml is built with 4.3.  No
> other gcc is installed.
> 
> I'll try your simplified test case later tonight and report back.

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

-Steve

Attachment: signature.asc
Description: Digital signature

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

Reply via email to