test_exception_catch.cc: In member function `int f::operator()(int)': test_exception_catch.cc:15: error: exception handling disabled, use -fexceptions to enable test_exception_catch.cc: In member function `int my_catch::operator()()': test_exception_catch.cc:42: error: `e' undeclared (first use this function) test_exception_catch.cc:42: error: (Each undeclared identifier is reported onlyonce for each function it appears in.) make[2]: *** [test_exception_catch.o] Error 1 make[2]: Leaving directory `/usr/src/RedmondLinux/BUILD/libsigc++-2.0.5/tests' Reproducible: Always Steps to Reproduce: 1.add -fno-exceptions to CXXFLAGS 2.emerge libsigc++ 3.verify above failure Actual Results: see above Expected Results: src_compile should filter-flags -fno-exceptions
This flag disables a core feature of C++, and I think many C++ applications would fail without exception handling. I have added a filter-flags line for it, but I don't think this flag should be set globally for CXXFLAGS.