Carsten Neumann wrote:
>       Hello Marcus,
> 
> Marcus Lindblom wrote:
>> I've grinded to a halt no an ICE in gccxml, which I've reported here:
>> (with two followups with additional info that I forgot to include)
>>
>> http://www.gccxml.org/pipermail/gccxml/2009-January/001272.html
>>
>> Perhaps someone who knows more about gcc, pyopensg and opensg than me 
>> knows in which diretion to look to solve this? (Unless it's a proper 
>> compiler bug.. :-/ )
> 
> hm, maybe if you configure gccxml with --enable-checking= option it 
> might assert with a more meaningful message?

Good idea. Will try to do that.

> Also, what about the errors it reports earlier in the file:

>> C:/Program Files/boost/boost_1_36_0/boost/python/object/instance.hpp:44: 
>> error: a cast to a type other than an integral
>> or enumeration type cannot appear in a constant-expression
 >
> perhaps the compiler is in some inconsistent state from the errors and 
> crashes while trying to parse the rest of the file?

Probably.

But I don't get any information about what template instantiations cause 
those errors in python. With MSVS, you get the instantiation chain with 
all template errors (which is _large_ when using something like boost 
lambda, but it still helps).

Also, I've started to narrow it down and it actually ICE's if I only 
include OSGConfig.h and OSGFieldContainer.h. So I'll have to go into 
OSGFieldContainer.h and untangle that to see which file is the actual 
culprit. :-/

Aha. While writing this I got a reply on the gccxml-list saying 'bug 
found, fix commited'. It doesn't seem to work though (I just rebuilt 
gccxml and retried), but someone is on the case. :)

Cheers,
/Marcus



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to