lua-users home
lua-l archive

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


On Wed, Oct 11, 2006 at 09:24:53PM -0500, Javier Guerra wrote:
> On Wednesday 11 October 2006 6:57 pm, Glenn Maynard wrote:
> > How are people dealing with error handling in C++?  setjmp doesn't
> > get along with C++ destructors.  luaconf.h has an alternate to use
> 
> any C++ -aware longjmp should call destructors; or am i too optimistic?  at 
> the very least, i know the old 'almost C++' Metrowerks C compiler did that 
> many many years ago

I'm fairly sure that neither VC nor g++ (the two compilers I deal with
regularly) do not, and VC has a warning for longjmp nonportability in
C++.

-- 
Glenn Maynard