Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108432

Compile error with gcc 12.2.1+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.0
    • Tools: Linguist
    • None
    • Linux/Wayland

      When compiling on the upcoming Fedora 37 using gcc 12.2.1 I'm running into

      In file included from /home/prcs1076/.conan/data/qt/6.4.0/bje/stable/source/qt6/qttools/src/linguist/lupdate/cpp_clang.cpp:7:
      
      /home/prcs1076/.conan/data/qt/6.4.0/bje/stable/source/qt6/qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:52:10: error: ‘void LupdatePPCallbacks::InclusionDirectiv
      e(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*
      , clang::SrcMgr::CharacteristicKind)’ marked ‘override’, but does not override
         52 |     void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/,
            |          ^~~~~~~~~~~~~~~~~~
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kkohne Kai Köhne
            cajus Cajus Pollmeier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes