Task #712 - fixed.err
back to task #712download
Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>))()>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:11: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:12: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::SwitchEvent*))(KWin::SwitchEvent*)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.cpp:3045:23: required from here # 3045 | processFilters(std::bind(&InputEventFilter::switchEvent, std::placeholders::_1, &event)); # | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::KeyEvent*))(KWin::KeyEvent*)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:11: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:12: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::MouseEvent*, int))(KWin::MouseEvent*, unsigned int)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:11: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/effect/globals.h:12: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/cursor.h:11: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.h:13: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned int))(KWin::MouseEvent*, unsigned int)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:287:28: required from here # 287 | input()->processFilters(std::bind(&InputEventFilter::pointerEvent, std::placeholders::_1, &event, button)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::MouseEvent*, unsigned int))(KWin::MouseEvent*, unsigned int)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::WheelEvent*))(KWin::WheelEvent*)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:312:28: required from here # 312 | input()->processFilters(std::bind(&InputEventFilter::wheelEvent, std::placeholders::_1, &wheelEvent)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::SwitchEvent*))(KWin::SwitchEvent*)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/keyboard_input.h:11: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/keyboard_input.cpp:9: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::KeyEvent*))(KWin::KeyEvent*)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/keyboard_input.cpp:268:28: required from here # 268 | m_input->processFilters(std::bind(&InputEventFilter::keyEvent, std::placeholders::_1, &event)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::TabletEvent*))(KWin::TabletEvent*)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:11: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:12: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, unsigned int, bool, KWin::TabletToolId, std::chrono::duration<long int, std::ratio<1, 1000000> >))(unsigned int, bool, const KWin::TabletToolId&, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/tablet_input.cpp:100:28: required from here # 100 | input()->processFilters(std::bind(&InputEventFilter::tabletToolButtonEvent, # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 101 | std::placeholders::_1, button, isPressed, tabletToolId, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, KWin::WheelEvent*))(KWin::WheelEvent*)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, int, std::chrono::duration<long int, std::ratio<1, 1000000> >))(int, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:323:28: required from here # 323 | input()->processFilters(std::bind(&InputEventFilter::swipeGestureBegin, std::placeholders::_1, fingerCount, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, QPointF, chrono::duration<long int, ratio<1, 1000000> >))(const QPointF&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, std::chrono::duration<long int, std::ratio<1, 1000000> >))(std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:347:28: required from here # 347 | input()->processFilters(std::bind(&InputEventFilter::swipeGestureEnd, std::placeholders::_1, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, chrono::duration<long int, ratio<1, 1000000> >))(chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, double, double, QPointF, std::chrono::duration<long int, std::ratio<1, 1000000> >))(double, double, const QPointF&, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:383:28: required from here # 383 | input()->processFilters(std::bind(&InputEventFilter::pinchGestureUpdate, std::placeholders::_1, scale, angleDelta, delta, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, double, double, QPointF, chrono::duration<long int, ratio<1, 1000000> >))(double, double, const QPointF&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>))()>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:449:28: required from here # 449 | input()->processFilters(std::bind(&InputEventFilter::pointerFrame, std::placeholders::_1)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, int, QPointF, chrono::duration<long int, ratio<1, 1000000> >))(int, const QPointF&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:11: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:12: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, int, std::chrono::duration<long int, std::ratio<1, 1000000> >))(int, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/touch_input.cpp:160:28: required from here # 160 | input()->processFilters(std::bind(&InputEventFilter::touchUp, std::placeholders::_1, id, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, int, chrono::duration<long int, ratio<1, 1000000> >))(int, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, QPointF, std::chrono::duration<long int, std::ratio<1, 1000000> >))(const QPointF&, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/pointer_input.cpp:335:28: required from here # 335 | input()->processFilters(std::bind(&InputEventFilter::swipeGestureUpdate, std::placeholders::_1, delta, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, int, int, bool, KWin::TabletPadId, chrono::duration<long int, ratio<1, 1000000> >))(int, int, bool, const KWin::TabletPadId&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, unsigned int, bool, KWin::TabletPadId, chrono::duration<long int, ratio<1, 1000000> >))(unsigned int, bool, const KWin::TabletPadId&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, int, int, bool, KWin::TabletPadId, std::chrono::duration<long int, std::ratio<1, 1000000> >))(int, int, bool, const KWin::TabletPadId&, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/tablet_input.cpp:120:28: required from here # 120 | input()->processFilters(std::bind(&InputEventFilter::tabletPadStripEvent, # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 121 | std::placeholders::_1, number, position, isFinger, tabletPadId, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: COMPILER_WARNING (CWE-252): kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h:194:20: warning[-Wunused-result]: ignoring return value of ‘constexpr bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = QList<KWin::InputEventFilter*>::const_iterator; _Predicate = _Bind<bool (KWin::InputEventFilter::*(_Placeholder<1>, unsigned int, bool, KWin::TabletToolId, chrono::duration<long int, ratio<1, 1000000> >))(unsigned int, bool, const KWin::TabletToolId&, chrono::duration<long int, ratio<1, 1000000> >)>]’, declared with attribute ‘nodiscard’ # 194 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ kwin-6.0.3.1-build/kwin-6.0.3.1/src/input.h: scope_hint: In instantiation of ‘void KWin::InputRedirection::processFilters(UnaryPredicate) [with UnaryPredicate = std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, unsigned int, bool, KWin::TabletPadId, std::chrono::duration<long int, std::ratio<1, 1000000> >))(unsigned int, bool, const KWin::TabletPadId&, std::chrono::duration<long int, std::ratio<1, 1000000> >)>]’ #/builddir/build/BUILD/kwin-6.0.3.1-build/kwin-6.0.3.1/src/tablet_input.cpp:110:28: required from here # 110 | input()->processFilters(std::bind(&InputEventFilter::tabletPadButtonEvent, # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 111 | std::placeholders::_1, button, isPressed, tabletPadId, time)); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 192| void processFilters(UnaryPredicate function) # 193| { # 194|-> std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); # 195| } # 196| Error: CLANG_WARNING: kwin-6.0.3.1-build/kwin-6.0.3.1/src/plugins/private/expolayout.cpp:539:65: warning[core.DivideZero]: Division by zero # 537| // all windows are the same size. # 538| // (We are using an old bounding rect for this, hopefully it doesn't matter) # 539|-> int xSection = (target_w->x() - bounds.x()) / (bounds.width() / 3); # 540| int ySection = (target_w->y() - bounds.y()) / (bounds.height() / 3); # 541| diff = QPoint(0, 0); Error: COMPILER_WARNING (CWE-477): kwin-6.0.3.1-build/kwin-6.0.3.1/src/xwayland/xwayland.cpp: scope_hint: In member function ‘void KWin::Xwl::XwaylandInputSpy::setMode(KWin::XwaylandEavesdropsMode)’ kwin-6.0.3.1-build/kwin-6.0.3.1/src/xwayland/xwayland.cpp:211:17: warning[-Wdeprecated-declarations]: ‘Qt::Key_mu’ is deprecated: This key was misnamed, use Key_micro instead # 211 | Qt::Key_mu, # | ^~~~~~ /usr/include/qt6/QtCore/qbytearray.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qstringview.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:656: included_from: Included from here. /usr/include/qt6/QtCore/qlatin1stringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QLatin1String:1: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/redhat-linux-build/src/config-kwin.h:2: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/effect/globals.h:12: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/xwayland/xwayland_interface.h:11: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/xwayland/xwayland.h:14: included_from: Included from here. kwin-6.0.3.1-build/kwin-6.0.3.1/src/xwayland/xwayland.cpp:11: included_from: Included from here. /usr/include/qt6/QtCore/qnamespace.h:607:9: note: declared here # 607 | Key_mu Q_DECL_ENUMERATOR_DEPRECATED_X("This key was misnamed, use Key_micro instead") # | ^~~~~~ # 209| Qt::Key_threesuperior, # 210| Qt::Key_acute, # 211|-> Qt::Key_mu, # 212| Qt::Key_paragraph, # 213| Qt::Key_periodcentered,