[C++-sig] Pyste support for include paths with spaces
paul.bridger
paul.bridger at paradise.net.nz
Wed May 26 11:11:18 CEST 2004
Currently Pyste/GCCXML has a problem with spaces in include paths.
My command-line:
pyste.py -I "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include" StdString.pyste
My .pyste file:
string = Class('std::string', 'string')
(Please try to imagine for a moment that I have a valid reason to be
wrapping std::string).
With an unpatched Pyste, this has the problem that when
"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\string"
is found and passed to GCCXML for parsing, GCCXML interprets this as
multiple files separated by spaces:
C:\Program
Files\Microsoft
Visual
Studio
..., you get the idea.
GCCXML doesn't like it.
CppParser.py:114, unmodified:
cmd = 'gccxml %s %s %s -fxml=%s
CppParser.py:114, with my fix:
cmd = 'gccxml %s %s "%s" -fxml=%s
Paul
More information about the Cplusplus-sig
mailing list