1 |
Hi list! |
2 |
|
3 |
I'm wondering if anyone tried setting -fnothrow-opt as a CXX_FLAG in |
4 |
make.conf? |
5 |
|
6 |
It makes C++ throw() statements behave like C++11 nothrow. This could |
7 |
have measurable performance benefits and will reduce code size. The only |
8 |
downside is that, when a function violates its throw() guarantee, |
9 |
terminate() will be called instead of unexpected(). |
10 |
|
11 |
However, neither function is allowed to do anything but terminate the |
12 |
program. So all you possibly lose is a meaningful error message just |
13 |
before the program crashes. |
14 |
|
15 |
So, what do you think? Safe to enable by default? |
16 |
|
17 |
Thanks in advance! |
18 |
Florian Philipp |