Re: gcc 4.4 vs gcc 4.5 - a heads up

Nigel Atkinson <[email protected]> Wed, 22 Jun 2011 01:29:37 +1000
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On Tue, 2011-06-21 at 16:06 +0100, liam mail wrote:
> 
> On 21 June 2011 14:23, Nigel Atkinson <[email protected]> wrote:
> dynamic casting
>         
> Ryan I would look at std::type_info for the prime suspect.
> 
> 
> Liam
> 
I think you're right there. I was actaully hunting through
inheritance.cpp when the problem 'disappeared'.  It would make sense if
the implementation of type_info had changed between 4.4 and 4.5.

As for making an automated test - I can create an exe that exhibits the
problem, but only by compiling the luabind library with 4.4 and the
program itself with 4.5.  I could also 'fix' the bug by removing classes
after the one in question from the binding - which led me to the cast
graph.

This would have ramifications for making distribution packages (rpm,
deb, etc) for Luabind too I guess.

Nigel


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev