lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi there!

I thought I'd warn fellow Lua users about something which has
caused me quite a lot of debugging anguish: it's not safe to compile
Lua with -fomit-frame-pointer if you're compiling with mingw.  It
can cause longjmp() to crash horribly.  (This probably depends on
the mingw version but from googling around it looks like various
people have experienced this problem; YMMV.)

So if you're wondering why, for example, your pcall() errors
always terminate the program badly... this could be it.

Regards,
--Adam
--
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3