https://bugs.kde.org/show_bug.cgi?id=377933

--- Comment #2 from Kevin Funk <kf...@kde.org> ---
Bug in extra-cmake-modules I suppose.

>From kde-modules/KDECompilerSettings.cmake:
```
...

# TODO: Deal with QT_NO_EXCEPTIONS for non-gnu compilers?
#       This should be defined if and only if exceptions are disabled.
#       qglobal.h has some magic to set it when exceptions are disabled
#       with gcc, but other compilers are unaccounted for.

# Turn off exceptions by default
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
...
```

This looks suspicious. Sounds like you need to define QT_NO_EXCEPTIONS
yourself?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to