lua-users home
lua-l archive

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

On Friday 04 February 2005 14.50, Adam D. Moss wrote:
> 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.

Do you have a link to some explanation of what happens, more 
specifically? Does it just plain break longjmp(), or just cause it to 
malfunction in certain cases?

/me wondering if this might affect the EEL compiler as well...

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> -'
   --- --- ---