[GCC-XML]Header file location problems

Brad King brad.king at kitware.com
Wed Jul 30 13:30:24 EDT 2003


> Why is this so? Whenever I want to run gccxml on the .CPP file, will I
> have to compulsorily put in the headerf files into the VC6 \ Include
> directory under gccxml's directory?
[snip]
> Does anyone know of any way by which the current directory is also
> searched for the project-specific header files?

Just specify -Ic:/foo/bar options as with any compiler to add include
directories.  GCC-XML cannot look in the directory containing a source
file to find other files as an unfortunate implementation detail for
supporting MSVC's C++ header files that contain invalid C++ code.

-Brad




More information about the gccxml mailing list