Synopsis - getting started
"Roman Yakovenko" <[email protected]> Sun, 6 May 2007 22:40:40 +0300
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
Hi. I have small problem with using Cxx.Parser class. It seems that it
doesn't honor the additional include directories I specify. I guess I
have some error. Can you take a look on next script and to say what is
wrong with it?
cxx = Cxx.Parser(
preprocess=True
, cppflags=['-I
/home/roman/language-binding/sources/pygccxml_dev/unittests/data' ] )
ast = AST.AST()
cxx.process( ast, input=['bit_fields.hpp'] )
If I pass full path to the file, the ast is built
Thanks
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/