Re: gcc 4.4 vs gcc 4.5 - a heads up
Ryan Pavlik <[email protected]> Tue, 21 Jun 2011 10:01:55 -0500
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Is this an issue that could be monitored by adding an automated test? (Is there any way to reproduce it using just a single compiler version, and/or can it be tested using a single executable?) Ryan On Tue, Jun 21, 2011 at 8:23 AM, Nigel Atkinson <[email protected]>wrote: > I've just tracked down an annoying problem that arises with moving from > gcc 4.4 to gcc 4.5 - which might happen on Linux if you upgrade your > distribution. > > The problem boiled down to a luabind lib compiled with 4.4 and my > program with 4.5, which caused a subtle bug in the dynamic casting with > some classes looking like their base class to Lua. Not a bug with > luabind per se, but something to watch out for. > > The solution was to re-compile luabind with gcc 4.5. A fact I found > when adding cout's to luabind to see how the cast graph and cache > worked. > > If anyone is interested, I have a fairly small program that exhibits the > problem. > > Nigel Atkinson > > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University [email protected] http://academic.cleardefinition.com ------------------------------------------------------------------------------ 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 _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user