8 Feb
2005
8 Feb
'05
7:09 a.m.
David Ward wrote:
Boosters:
In our embedded environment, we compile everything with -fno-exceptions. I'm getting errors in the new program_options library because it has naked throw calls in it. I did see a definition of boost::throw_exception and changed the naked throw calls to use that. That seems to work.
What do you mean by "work". That converts all error handling into abort()s, no? Is that what you want? And a side question, if you don't mind -- how do you use program_options in embedded system? For reading config files? - Volodya