Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
Support for Exception in IAR Embedded Workbench - kender_a - Oct 14 14:05:42 2009
Colleagues,
I'm trying to use exceptions in Embedded workbench. But this line of code:
throw Exception(FACILITY_I2C, ERR_ERROR);
Generates this compile-time error:
Error[Pe540]: support for exception handling is disabled
Can the support for exceptions be enabled? If so, then how?
Cheers,
- Nick
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: Support for Exception in IAR Embedded Workbench - 42Bastian - Oct 14 15:37:47 2009
> Colleagues,
I am not.
> I'm trying to use exceptions in Embedded workbench. But this line of code:
Read your manual. IAR supports (extended) Embedded C++ which does not
have exceptions.
--
42Bastian
------------------
Parts of this email are written with invisible ink.
Note: SPAM-only account, direct mail to bs42@...
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )