Hi,
Tacvek wrote:
Some functions supplied by lua.cc crash on calling "luaL_error":
- enigma.GetAttrib with non existing attribute or pseudo-attribute
"kind".
- enigma.GetKind(nil)
These crashes occur only on Windows but not on Linux. They are
independent of Lua 5.1 and 5.1.1.
The error handling does work in general on Windows, as incorrect calls
like
enigma.SetItem(7,9, nil)
are reported correctly.
Please find attached a sample level with the different errors commented
out. Activate one after the other for testing.
Any ideas?
Hmm...
I can confirm the crash, but my current setup does not support
debugging, because I cross-compile. I could do a direct compilation, and
see what gdb thinks, but It would be a bit of a pain, so I will hold off
on doing so unless nobody else can come up with an explanation.
Looks rather like a Mingw problem:
Trunk r118 (last Lua 4 revision) behaves identical to the current Lua
5.1 trunk revision when compiled with the same Mingw gcc 3.4.2.
20040916-1 version.
Mingw did change the longjump methods after 3.4.2 and a lot of problems
were reported due to principal longjump-Windows incompatibilities. Has
anyone experience with candidate 3.4.5?
- Ronald
_______________________________________________
Enigma-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/enigma-devel