Unifying Exception types in setup

Max Bowsher maxb@ukf.net
Sun Mar 16 09:34:00 GMT 2003


Robert Collins wrote:
> Max Bowsher wrote:
>> Robert,
>>
>> Currently setup uses both <stdexcept> exceptions, and its own
>> std::exception-derived Exceptions.
>>
>> I'm about to write a patch to convert the kludgy
>>
>> if (error)
>>     exit(some_random_exit_code);
>>
>> bits to exceptions. Which kind shall I use, and would you be
>> interested in a patch to convert all of them over to one kind?
>>
>> Max.
>>
>
> I need to think on this.

OK. How about I convert the kludgy exits to Exceptions, and change them to
<stdexcept>s later, along with the rest, if that's what you decide?

Max.



More information about the Cygwin-apps mailing list