[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua error handling and C++
- From: Sam Roberts <sroberts@...>
- Date: Mon, 16 Oct 2006 12:14:53 -0700
On Mon, Oct 16, 2006 at 02:49:25PM -0400, Glenn Maynard wrote:
> On Mon, Oct 16, 2006 at 11:31:28AM -0700, Sam Roberts wrote:
> > Can't the C++ code catch all exceptions, and re-raise with lua_error()?
>
> The problem is that C++ exceptions bloat executables too much to be
> practical to leave enabled in many cases. The use of a 150k library
> requiring enabling an option that would bloat my binary by over 1MB
> means it's effectively a 1.15MB library.
Then I lost the thread. If you aren't using exceptions, what is the
C++-specific problem you have encountered?
Sam