|
On 16-Oct-06, at 1:49 PM, 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.
You only have to catch exceptions if they might be thrown. If you're not using exceptions, and you're using no c++ library which uses exceptions, then there's no problem, surely?