[GCC-XML] Does GCCXML handle #include_next?
Steve M. Robbins
steve at sumost.ca
Fri May 30 14:07:08 EDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20080530/1e15fab6/attachment.sig>
More information about the gccxml
mailing list