[Bug 57114] New: Checking the 'enable exception handling' turns OFF exception handling

Alexander Dymo cloudtemple at mksat.net
Fri Apr 11 17:26:48 UTC 2003


On Friday 11 April 2003 02:54, Chris Thompson wrote:
> From main menu with a C++ project, do the following:
>
> Project --> Project Options --> Configure Options --> C++ --> [...] on the
> Compiler Flags line.
>
> In the General tab, enable the 'Enable exception handling' feature in Code
> Generation.
>
> Expected result:
> -fexceptions would be added to the compiler options.
>
> Alternate expected result:
> -fno-exceptions, if it exists in the compiler options textbox, would be
> removed.
>
> Actual result:
> Although nothing to do with -f{no-,}exceptions exists in the compiler
> options textbox, -fno-exceptions is added.  This DISABLES rather than
> enables exception handling using g++.
>
> Suggested solution:
> Change the behavior.  Make it add -fexceptions instead of -fno-exceptions. 
> Alternatively, change the wording to 'Disable exception handling', though
> this wording is rather nasty.

I changed the label to "Disable Exception Handling" for c++ options.
Exceptions are enabled by default for c++, so only the flag -fno-exceptions
seems to be adequate.

I think that bug can be closed.

-- 
Alexander Dymo
Ukrainian State Maritime Technical University, IT Department





More information about the KDevelop-devel mailing list