[Insight-users] Re: CVS ITK WrapITK swigrun.xml

Brad King brad.king at kitware.com
Thu Nov 1 15:39:46 EDT 2007


Dan White wrote:
> here is the output with --print
[snip]
> -I/usr/include/c++/4.0.0 -I/usr/include/c++/4.0.0/i686-apple-darwin9
> -I/usr/include/c++/4.0.0/backward -I/usr/local/include
> -I/usr/lib/gcc/i686-apple-darwin9/4.0.1/include -I/usr/include
> -I/System/Library/Frameworks (framework directory) -I/Library/Frameworks
> (framework directory)

Okay, it looks like the system GCC is reporting some extra information
on the include lines it lists.  To confirm, what is the output of

  echo "" | g++ -x c++ - -E -v

?  I bet it contains lines like

 /usr/include/c++/4.0.0
 /usr/include/c++/4.0.0/i686-apple-darwin9
 /usr/include/c++/4.0.0/backward
 /usr/local/include
 /usr/lib/gcc/i686-apple-darwin9/4.0.1/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)

The last two are being parsed by gccxml under the assumption that they
are include directories instead of framework directories.

-Brad


More information about the Insight-users mailing list