| Summary: | error: cannot use 'throw' with exceptions disabled; error: unknown type name 'slots' | ||
|---|---|---|---|
| Product: | [Applications] glaxnimate | Reporter: | Yuri <yuri> |
| Component: | general | Assignee: | Mattia Basaglia <glax> |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.5.80 | ||
| Target Milestone: | --- | ||
| Platform: | FreeBSD Ports | ||
| OS: | FreeBSD | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY Build fails: In file included from /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/src/QtColorWidgets/harmony_color_wheel.cpp:24: /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/include/QtColorWidgets/harmony_color_wheel.hpp:39:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 39 | explicit HarmonyColorWheel(QWidget *parent = 0); | ^ | nullptr /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/src/QtColorWidgets/harmony_color_wheel.cpp:109:9: error: cannot use 'throw' with exceptions disabled 109 | throw std::out_of_range("incorrect call to addSymmetricHarmony: harmony number out of range"); | ^ /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/src/QtColorWidgets/harmony_color_wheel.cpp:122:9: error: cannot use 'throw' with exceptions disabled 122 | throw std::out_of_range("incorrect call to addOppositeHarmony: harmony number out of range"); | ^ 2 warnings and 2 errors generated. The -fno-exceprions flag is added to compiler aregs. This is likely done in /usr/local/share/ECM/kde-modules/KDECompilerSettings.cmake Another compilation error: In file included from /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/src/QtColorWidgets/color_delegate.cpp:22: /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/include/QtColorWidgets/color_delegate.hpp:76:8: error: expected ':' 76 | private slots: | ^ | : /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/include/QtColorWidgets/color_delegate.hpp:76:9: error: unknown type name 'slots' 76 | private slots: | ^ /usr/ports/graphics/glaxnimate/work/glaxnimate-0.5.80/external/Qt-Color-Widgets/include/QtColorWidgets/color_delegate.hpp:77:10: error: expected '(' for function-style cast or type construction 77 | void close_editor(); | ~~~~ ^ STEPS TO REPRODUCE build SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION kf6-extra-cmake-modules-6.22.0 FreeBSD 15 STABLE