, 2011 12:32 AM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] EXTERNAL: Re: pygccxml KeyError
On Wed, Dec 21, 2011 at 2:44 AM, Davidson, Josh wrote:
> I did run into a couple subtle problems with this approach. Depending on
> where I put the header file, Py++ doesn'
On Wed, Dec 21, 2011 at 2:44 AM, Davidson, Josh wrote:
> I did run into a couple subtle problems with this approach. Depending on
> where I put the header file, Py++ doesn't generate pypp.hpp/pypp.cpp files
> that actually register the data structures. Everything shows up in the
> exposed_dec
sers\davidsj2\appdata\local\temp\tmpe3ooz9.h"
-fxml="c:\users\davidsj2\appdata\local\temp\tmptogx_j.xml""
INFO GCCXML version - 0.9( 1.135 )
INFO: file "named_tuple.py" - updated( 0.003908 seconds )
INFO: file "executive.main.cpp" - updated( 0.008799 se
an Yakovenko
Sent: Monday, December 19, 2011 1:35 PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] EXTERNAL: Re: pygccxml KeyError
On Mon, Dec 19, 2011 at 10:24 PM, Davidson, Josh wrote:
> Actually, it is using a source_reader_t by default. __parse_declarations
> invokes __
On Mon, Dec 19, 2011 at 10:24 PM, Davidson, Josh wrote:
> Actually, it is using a source_reader_t by default. __parse_declarations
> invokes __parse_file_by_file, which uses a source_reader_t (line 236) to
> parse each file. It then bombs out after parsing all of the files when it
> calls _jo
Actually, it is using a source_reader_t by default. __parse_declarations
invokes __parse_file_by_file, which uses a source_reader_t (line 236) to parse
each file. It then bombs out after parsing all of the files when it calls
_join_class_hierarchy.
I continue to have this issue with various c
May have been a bit too quick to respond. Looks like setting the compilation
mode can be used to have the project_reader_t use a source_reader_t. Sorry
about that.
-Original Message-
From: Davidson, Josh
Sent: Monday, December 19, 2011 1:00 PM
To: 'Development of Python/C++ integratio
Short of modifying the distribution, I don't see any way within Py++ to change
the type of reader. It seems to be hardcoded to project_reader_t:
def __parse_declarations( self, files, gccxml_config, compilation_mode,
cache, indexing_suite_version ):
if None is gccxml_config: