Re: [AD] Exception Support for Allegro

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Dustin Dettmer wrote:

Given Allegro's heavy use of callbacks, wouldn't it make sense to add
exception support to the compiles? (on gcc)

Exceptions are C++, allegro is C, so I don't think it is a good idea.
But anyway, you can write some lightweight C++ wrappers which will check
error codes returned from allegro functions and throw exceptions when
needed.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/