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

qdoc fails to compile with clang 18

    XMLWordPrintable

Details

    • 8c5e3f46e (dev), a916ac408 (6.7), 0b6536bcb (6.7.0)
    • DaVinci 95

    Description

      QDoc compilation fails when using clang 18:

      agent:2024/03/07 14:23:13 build.go:404: | In file included from /home/qt/work/build/build/tmp/work/x86_64-linux/qttools-native/6.7.0/git/src/qdoc/qdoc/src/qdoc/clangcodeparser.cpp:40:
      agent:2024/03/07 14:23:13 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/qttools-native/6.7.0/git/src/qdoc/qdoc/src/qdoc/clang/AST/QualTypeNames.h: In function ‘clang::QualType clang::TypeName::getFullyQualifiedType(clang::QualType, const clang::ASTContext&, bool)’:
      agent:2024/03/07 14:23:13 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/qttools-native/6.7.0/git/src/qdoc/qdoc/src/qdoc/clang/AST/QualTypeNames.h:441:35: error: ‘ETK_None’ was not declared in this scope; did you mean ‘EST_None’?
      agent:2024/03/07 14:23:13 build.go:404: |   441 |   ElaboratedTypeKeyword Keyword = ETK_None;
      agent:2024/03/07 14:23:13 build.go:404: |       |                                   ^~~~~~~~
      agent:2024/03/07 14:23:13 build.go:404: |       |                                   EST_None 

      Changed in https://github.com/llvm/llvm-project/commit/4ad2ada5216ee2bb3c334a3233a9ab51f2521b82

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-123109
          # Subject Branch Project Status CR V

          Activity

            People

              paulwicking Paul Wicking
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes