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

            Bug ID: 431551
           Summary: 4.4.2-beta2 fails to build on openSUSE Leap 15.1
           Product: krita
           Version: 4.4.2-beta2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: wba...@tmo.at
  Target Milestone: ---

/home/abuild/rpmbuild/BUILD/krita-4.4.2-beta2/libs/flake/svg/SvgMeshArray.cpp:
In member function 'SvgMeshStop SvgMeshArray::getStop(SvgMeshPatch::Type, int,
int) const':
/home/abuild/rpmbuild/BUILD/krita-4.4.2-beta2/libs/flake/svg/SvgMeshArray.cpp:199:5:
error: 'assert' was not declared in this scope
     assert(false);
     ^~~~~~

I'm not completely sure why that happens on openSUSE Leap 15.1 but not later
versions, maybe due to this change in Qt that's not in 5.9 yet:
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/global/qglobal.h?id=0ac2dca977e

Replacing `assert(false)` (line#199 in libs/flake/svg/SvgMeshArray.cpp) with
`KIS_ASSERT(false)` like done in other parts of this file fixes the problem.

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

Reply via email to