-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.9.0
-
None
/home/runner/work/cppcheck/cppcheck/cmake.output/gui/test/resultstree/__/__/moc_projectfile.cpp:40:5: error: 'QtMocHelpers::StringRefStorage' may not intend to support class template argument deduction [clang-diagnostic-ctad-maybe-unsupported]
175 40 | QtMocHelpers::StringRefStorage qt_stringData {
176 | ^
177/home/runner/work/cppcheck/Qt/6.9.0/gcc_64/include/QtCore/qtmochelpers.h:57:39: note: add a deduction guide to suppress this warning
178 57 | template <typename... Strings> struct StringRefStorage
179 | ^
/home/runner/work/cppcheck/cppcheck/cmake.output/gui/test/resultstree/__/__/moc_projectfile.cpp:44:5: error: 'QtMocHelpers::UintData' may not intend to support class template argument deduction [clang-diagnostic-ctad-maybe-unsupported]
44 | QtMocHelpers::UintData qt_methods {
| ^
/home/runner/work/cppcheck/Qt/6.9.0/gcc_64/include/QtCore/qtmochelpers.h:211:37: note: add a deduction guide to suppress this warning
211 | template <typename... Block> struct UintData
| ^
Note: These are from a clang-tidy run which enable Clang compiler warnings thus they have a different format than the warnings from the compiler. The "clang-diagnostic-" is equivalent to "-W".