qt/component.h has a function named 'requires'. When including this header in a project that is building with C++20 this will result in a compile error since requires is a reserved keyword in C++20
In file included from /usr/include/AppStreamQt/pool.h:28,
from /home/nico/kde/src/plasma-workspace/applets/kicker/plugin/actionlist.cpp:45:
/usr/include/AppStreamQt/component.h:195:36: error: expected unqualified-id before 'requires'
195 | QList<AppStream::Relation> requires() const;
The text was updated successfully, but these errors were encountered:
qt/component.h has a function named 'requires'. When including this header in a project that is building with C++20 this will result in a compile error since requires is a reserved keyword in C++20
The text was updated successfully, but these errors were encountered: