[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Caveat with lua_pushlightuserdata(L, (void *)&key)
- From: Raffaele Salmaso <raffaele.salmaso@...>
- Date: Wed, 28 Jun 2006 00:38:49 +0200
David Given ha scritto:
This was back in the days of OSX on PowerPC; and I don't know whether the
bug's been fixed or not by now.
00:37:07 Mer Giu 28 raf@jack ~
$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5341.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5341)
00:37:29 Mer Giu 28 raf@jack ~
$ cat prova.c
#include <stdio.h>
int foo;
int main(int argc, char* argv[])
{
printf("%d\n", foo);
}
00:37:32 Mer Giu 28 raf@jack ~
$ ./prova
0
00:37:35 Mer Giu 28 raf@jack ~
$ uname -a
Darwin jack.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53
PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc
so it seems to be fixed
--
()_() | NN KAPISCO XK' CELLHAVETE T'ANNTO CN ME SL | +----
(o.o) | XK' SKRIVO 1 P'HO VELLOCE MA HALL'ORA DITTELO | +---+
'm m' | KE SIETE VOI K CI HAVVETE PROBBLEMI NO PENSATECI | O |
(___) | HE SENZA RANKORI CIAOOOO |
raffaele punto salmaso at gmail punto com
- References:
- Caveat with lua_pushlightuserdata(L, (void *)&key), Mike Pall
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Julien Cugnière
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Andreas Stenius
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), David Jones
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Glenn Maynard
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Roberto Ierusalimschy
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Mike Pall
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), David Given