[C++-sig] Parsing complex C++

Nicodemus nicodemus at esss.com.br
Mon Dec 15 17:23:04 CET 2003

Hi Niall,

Niall Douglas wrote:

>Hash: SHA1
>Well, it seems the latest release of my library has finally broken 
>gccxml :( and I was hoping someone here might know what to do.
>Constructs like as follows:
>template<typename type, class next, template<class> class instance> 
>struct instantiateH<typename item<type, next>, instance>
>		: public instance<type>, public instantiateH<next, instance> {};
>... seem to confuse gccxml no end and thus pyste won't work anymore. 
>So therefore I have two solutions:
>(i): Get a gccxml which will handle the above. Will the above work 
>with GCC 3.3 or 3.4? This will mean me patching 3.3 or 3.4 myself :(

I see you already posted in the GCCXML mail list, so I would wait for an 
answer there.

>(ii): Modify the code above to make gccxml happy. GCCXML is based on 
>GCC 3.0.4 which I think is half the problem.

If you can change the code, it's a valid option too.

>Thoughts? BTW, not seen any updates to pyste for a while :(

I was about to send an email to the list about that. I have been very 
busy lately, without any time for Pyste at all (and my games, an my 
books... 8( ), but that doesn't mean that I abandoned it. As soon as I 
have time (I will be in vacation shortly) I plan to integrate some 
patches that have been sitting in my todo list for some time now.


More information about the Cplusplus-sig mailing list