paulmcauley / klassy

Klassy is a highly customizable binary Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop.
836 stars 24 forks source link

Fix clang compilation issues #125

Closed ReillyBrogan closed 8 months ago

ReillyBrogan commented 8 months ago

Compiling with Clang v16.0.6 results in the following error message:

klassy/libbreezecommon/renderdecorationbuttonicon18by18.cpp:353:31: error: alias template 'QVector' requires template arguments; argument deduction only allowed for class templates
        middlePath.addPolygon(QVector{leftMiddle, QPointF(leftMiddle.x() + width, leftMiddle.y())});
                              ^
/usr/include/qt6/QtCore/qcontainerfwd.h:33:22: note: template is declared here
template<typename T> using QVector = QList<T>;
ReillyBrogan commented 8 months ago

I think this is a feature in LLVM that was only implemented in LLVM 19: https://github.com/llvm/llvm-project/issues/54051

paulmcauley commented 8 months ago

Merged. Thank you!