Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 905664
Collapse All | Expand All

(-)a/CMakeLists.txt (+3 lines)
Lines 6-11 Link Here
6
6
7
project(fuzzylite CXX)
7
project(fuzzylite CXX)
8
8
9
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)
10
	add_definitions(-DUSE_DEPRECATED_CPP11_CALLS)
11
endif()
9
12
10
if (APPLE)
13
if (APPLE)
11
	cmake_policy(SET CMP0042 NEW)
14
	cmake_policy(SET CMP0042 NEW)
(-)a/src/main.cpp (+2 lines)
Lines 21-27 Link Here
21
21
22
int main(int argc, const char* argv[]) {
22
int main(int argc, const char* argv[]) {
23
    std::set_terminate(fl::Exception::terminate);
23
    std::set_terminate(fl::Exception::terminate);
24
#if (__cplusplus < 201703L) && defined(USE_DEPRECATED_CPP11_CALLS)
24
    std::set_unexpected(fl::Exception::terminate);
25
    std::set_unexpected(fl::Exception::terminate);
26
#endif
25
    ::signal(SIGSEGV, fl::Exception::signalHandler);
27
    ::signal(SIGSEGV, fl::Exception::signalHandler);
26
    ::signal(SIGABRT, fl::Exception::signalHandler);
28
    ::signal(SIGABRT, fl::Exception::signalHandler);
27
    ::signal(SIGILL, fl::Exception::signalHandler);
29
    ::signal(SIGILL, fl::Exception::signalHandler);

Return to bug 905664