> Ah, thanks. I was using exception to verify my code. Now 
> should I enable them for fltk3, or should I remove the 
> try-catch-throw?

I see Ben's already answered in favour of exceptions, but I have to say
that (at least for the core library) I'm not in favour. (Though, like
the STL, I have no problem with using it in user-code, of course.)

I think it stems from my background in asm and embedded; I'd much rather
be "sure" the core was right, than depend on a mechanism to clean up my
mistakes after the fact... And of course many embedded systems don't (or
at least didn't, times change, things move on...) support exceptions
anyway.

I see Ben says "They're portable (except perhaps to some really obscure
embedded systems)" - I guess he means me!

Cheers,
-- 
Ian



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to