CMake Warning at /usr/share/ECM/modules/ECMCheckOutboundLicense.cmake:86 (message):
Reuse tool not found, skipping test generation
Call Stack (most recent call first):
CMakeLists.txt:32 (include)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_WITH_QT5
CMAKE_LD_FLAGS
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textedittexttospeech/texttospeech.cpp: In member function ‘void TextEditTextToSpeech::TextToSpeech::slotStateChanged()’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textedittexttospeech/texttospeech.cpp:90:24: warning: ‘state’ may be used uninitialized [-Wmaybe-uninitialized]
90 | Q_EMIT stateChanged(state);
| ~~~~~~~~~~~~^~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textedittexttospeech/texttospeech.cpp:72:25: note: ‘state’ was declared here
72 | TextToSpeech::State state;
| ^~~~~
In file included from /usr/include/c++/13.3.0/bits/stl_pair.h:61,
from /usr/include/c++/13.3.0/utility:69,
from /usr/include/qt6/QtCore/qglobal.h:15,
from /usr/include/qt6/QtGui/qtguiglobal.h:7,
from /usr/include/qt6/QtGui/qcolor.h:7,
from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarerror.h:10,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.h:9,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:7:
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 4 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 32 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 4 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 32 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 5 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 40 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 5 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 40 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:78:26,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 6 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 48 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:78:26,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 6 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 48 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 7 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 56 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 7 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 56 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 8 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 64 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 8 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: at offset 64 into object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.h:8,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:8:
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:146:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp: In member function ‘virtual void TextGrammarCheck::GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresulttextedit.cpp:84:58: note: object ‘’ of size 32
84 | const auto act = cursor.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13.3.0/bits/stl_pair.h:61,
from /usr/include/c++/13.3.0/utility:69,
from /usr/include/qt6/QtCore/qglobal.h:15,
from /usr/include/qt6/QtCore/qcompare.h:12,
from /usr/include/qt6/QtCore/qdebug.h:12,
from /usr/include/qt6/QtCore/QDebug:1,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:8,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.h:8,
from /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:7:
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 4 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 32 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QString*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 4 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 32 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 5 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 40 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = QString]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QList::QList(QList&&)’ at /usr/include/qt6/QtCore/qlist.h:76:7,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 5 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 40 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:78:26,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 6 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 48 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = QTypedArrayData*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:78:26,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 6 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 48 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 7 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 56 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = char16_t*; _Up = std::nullptr_t]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:79:28,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 7 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 56 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:152:11: warning: array subscript 8 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
152 | _Tp __old_val = std::move(__obj);
| ^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 64 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘constexpr _Tp std::__exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’,
inlined from ‘constexpr _Tp std::exchange(_Tp&, _Up&&) [with _Tp = long long int; _Up = int]’ at /usr/include/c++/13.3.0/utility:100:29,
inlined from ‘QArrayDataPointer::QArrayDataPointer(QArrayDataPointer&&) [with T = char16_t]’ at /usr/include/qt6/QtCore/qarraydatapointer.h:80:29,
inlined from ‘QString::QString(QString&&)’ at /usr/include/qt6/QtCore/qstring.h:226:12,
inlined from ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/usr/include/c++/13.3.0/bits/move.h:153:13: warning: array subscript 8 is outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
153 | __obj = std::forward<_Up>(__new_val);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: at offset 64 into object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In constructor ‘TextGrammarCheck::GrammarAction::GrammarAction(TextGrammarCheck::GrammarAction&&)’,
inlined from ‘T qvariant_cast(QVariant&&) [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:774:67,
inlined from ‘T QVariant::value() && [with T = TextGrammarCheck::GrammarAction]’ at /usr/include/qt6/QtCore/qvariant.h:529:47,
inlined from ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’ at /var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:145:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammaraction.h:14:31: warning: array subscript ‘TextGrammarCheck::GrammarAction[0]’ is partly outside array bounds of ‘QVariant [1]’ [-Warray-bounds=]
14 | class TEXTGRAMMARCHECK_EXPORT GrammarAction
| ^~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp: In function ‘void TextGrammarCheck::GrammarResultUtil::replaceWord(const TextGrammarCheck::GrammarAction&, const QString&, QTextDocument*)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textgrammarcheck/common/grammarresultutil.cpp:93:57: note: object ‘’ of size 32
93 | auto act = cur.charFormat().property(GrammarResultUtil::TextInfo::ReplaceFormatInfo).value();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp: In member function ‘virtual bool TextAutoGenerateText::TextAutoGenerateListViewBaseDelegate::mouseEvent(QEvent*, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:62:63: warning: unused parameter ‘event’ [-Wunused-parameter]
62 | bool TextAutoGenerateListViewBaseDelegate::mouseEvent(QEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~^~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:62:98: warning: unused parameter ‘option’ [-Wunused-parameter]
62 | bool TextAutoGenerateListViewBaseDelegate::mouseEvent(QEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:62:125: warning: unused parameter ‘index’ [-Wunused-parameter]
62 | bool TextAutoGenerateListViewBaseDelegate::mouseEvent(QEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~^~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp: In member function ‘virtual bool TextAutoGenerateText::TextAutoGenerateListViewBaseDelegate::maybeStartDrag(QMouseEvent*, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:67:72: warning: unused parameter ‘event’ [-Wunused-parameter]
67 | bool TextAutoGenerateListViewBaseDelegate::maybeStartDrag(QMouseEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~^~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:67:107: warning: unused parameter ‘option’ [-Wunused-parameter]
67 | bool TextAutoGenerateListViewBaseDelegate::maybeStartDrag(QMouseEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/widgets/view/textautogeneratelistviewbasedelegate.cpp:67:134: warning: unused parameter ‘index’ [-Wunused-parameter]
67 | bool TextAutoGenerateListViewBaseDelegate::maybeStartDrag(QMouseEvent *event, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~^~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textcustomeditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.cpp:40:15: warning: ‘QDebug TextCustomEditor::operator<<(QDebug, SpellCheckRange)’ defined but not used [-Wunused-function]
40 | static QDebug operator<<(QDebug dbg, SpellCheckRange s)
| ^~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/ollamamanager.cpp: In member function ‘void OllamaManager::showModelInfo(const QString&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/ollamamanager.cpp:50:50: warning: unused parameter ‘modelName’ [-Wunused-parameter]
50 | void OllamaManager::showModelInfo(const QString &modelName)
| ~~~~~~~~~~~~~~~^~~~~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelavailableinfosdelegate.cpp: In member function ‘virtual bool OllamaModelAvailableInfosDelegate::helpEvent(QHelpEvent*, QAbstractItemView*, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelavailableinfosdelegate.cpp:112:93: warning: unused parameter ‘view’ [-Wunused-parameter]
112 | bool OllamaModelAvailableInfosDelegate::helpEvent(QHelpEvent *helpEvent, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelavailableinfosdelegate.cpp:112:127: warning: unused parameter ‘option’ [-Wunused-parameter]
112 | bool OllamaModelAvailableInfosDelegate::helpEvent(QHelpEvent *helpEvent, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodeldownloadprogresswidget.cpp: In member function ‘void OllamaModelDownloadProgressWidget::downloadModel(const QString&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodeldownloadprogresswidget.cpp:53:10: warning: unused variable ‘reply’ [-Wunused-variable]
53 | auto reply = mManager->downloadModel(modelName);
| ^~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelinstalledinfosdelegate.cpp: In member function ‘virtual bool OllamaModelInstalledInfosDelegate::helpEvent(QHelpEvent*, QAbstractItemView*, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelinstalledinfosdelegate.cpp:98:93: warning: unused parameter ‘view’ [-Wunused-parameter]
98 | bool OllamaModelInstalledInfosDelegate::helpEvent(QHelpEvent *helpEvent, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelinstalledinfosdelegate.cpp:98:127: warning: unused parameter ‘option’ [-Wunused-parameter]
98 | bool OllamaModelInstalledInfosDelegate::helpEvent(QHelpEvent *helpEvent, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelinstalledinfosdelegate.cpp: In member function ‘bool OllamaModelInstalledInfosDelegate::handleMouseEvent(QMouseEvent*, QRect, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/modelsmanager/ollamamodelinstalledinfosdelegate.cpp:175:66: warning: variable ‘layout’ set but not used [-Wunused-but-set-variable]
175 | const OllamaModelInstalledInfosDelegate::ModelInfoLayout layout = doLayout(option, index);
| ^~~~~~
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/ollamaplugin.cpp: In member function ‘virtual void OllamaPlugin::setPrompt(const QString&)’:
/var/pisi/ktextaddons-1.6.0-10/work/ktextaddons-1.6.0/textautogeneratetext/plugins/ollama/ollamaplugin.cpp:57:45: warning: unused parameter ‘text’ [-Wunused-parameter]
57 | void OllamaPlugin::setPrompt(const QString &text)
| ~~~~~~~~~~~~~~~^~~~