https://bugs.kde.org/show_bug.cgi?id=490549
Bug ID: 490549 Summary: clazy 1.12 does not compile with (the upcoming) clang 19 Classification: Developer tools Product: clazy Version: unspecified Platform: RedHat Enterprise Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: peter.klot...@gmail.com CC: smart...@kde.org Target Milestone: --- clazy 1.12 does not compile with clang 19 because the overridden method InclusionDirective() now has an additional parameter "bool ModuleImported". Tested with a pre-release version of clang 19 (from the LLVM main branch) under Red Hat Enterprise Linux 9. The compiler error message taken from the CMake build: [ 1%] Generating clazy.1 [ 1%] Building CXX object CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.pch [ 1%] Built target man In file included from <built-in>:1: In file included from clazy/1.12/clazy-Binaries/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5: clazy/1.12/clazy-1.12/src/checkbase.h:99:73: error: non-virtual member function marked 'override' hides virtual member function 99 | clang::SrcMgr::CharacteristicKind FileType) override; | ^ clang19el9/include/clang/Lex/PPCallbacks.h:168:16: note: hidden overloaded virtual function 'clang::PPCallbacks::InclusionDirective' declared here: different number of parameters (11 vs 10) 168 | virtual void InclusionDirective(SourceLocation HashLoc, | ^ 1 error generated. make[2]: *** [CMakeFiles/ClazyPlugin.dir/build.make:77: CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.pch] Error 1 make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/ClazyPlugin.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 -- You are receiving this mail because: You are watching all bug changes.