[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: toLua 5.0 GC Fails on Returned-By-Value Temporaries
- From: "Benn" <bennb-ll@...>
- Date: Wed, 12 May 2004 17:14:06 +0200 (CEST)
Hi -
My test is run with the latest vanilla tolua-5.0 and lua-5.0.2 which
produced my included output on this platform:
OpenBSD minotaur.dragon-ware.com 3.2 minotaur#4 i386
gcc version 2.95.3 20010125 (prerelease)
Also on my Linux 2.6 platform at home, and on the following platform:
SunOS nu 5.9 Generic_112233-10 sun4u sparc SUNW,UltraSPARC-IIi-Engine
gcc version 3.3.2
So I've tried this on a few different configurations, each one with brand
new .tar.gz from the lua website, and the exact same files. Are you using
the 5.0.2 release?
I would agree, your output is what I would expect to see as well.
Obviously something about our platforms differs :)
Thanks,
--Benn
> I got the following output, which seems to be correct.
>
> Foo::Foo() = 0x080618C8
> ~Foo() = 0x080618C8
> Done with test 1
>
> Foo::Foo() = 0xBFFFF4D0
> Foo::Foo(0xBFFFF4D0) = 0x08060BB8
> ~Foo() = 0xBFFFF4D0
> ~Foo() = 0x08060BB8
> Done with test 2
>
> please, download the lastest tolua version from
> www.tecgraf.puc-rio.br/~celes/tolua
> and see if it works fine.
>
> -- waldemar