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

            Bug ID: 515361
           Summary: error: cannot use 'throw' with exceptions disabled;
                    error: unknown type name 'slots'
    Classification: Applications
           Product: glaxnimate
      Version First 0.5.80
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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

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

Reply via email to