[GCC-XML] gccxml doesn't accept absolute path names in #include

Thomas Heller theller at ctypes.org
Thu Feb 7 04:01:14 EST 2008

gccxml 0.9 does not accept absolute pathnames on Windows; it worked
fine with the 0.7 version.

<file sample.h>
#include "c:\\vc98\\include\\windows.h"

C:\svn\theller\ctypeslib>\Programme\GCCXMLComplete\bin\gccxml x.h
Compiler "cl" specified, but more than one of MSVC 6, 7, 7.1, and 8 are installed.
Please specify "msvc6", "msvc7", "msvc71", or "msvc8" for the GCCXML_COMPILER setting.
Using MSVC 7.1 because it was used to build GCC-XML.

x.h:1:40: error: /Programme/GCCXMLComplete/share/gccxml-0.9/Vc71/Include/c:\\vc98\\include\\windows.h: Invalid argument


The behaviour is the same whether I use <...> or "..." in the include directive,
or whether I use forward or backward (single or double) slashes.  Seems like
gccxml interprets the path as relative path name.

Is there anything I can do to make it work?


More information about the gccxml mailing list