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

qtwebengine - build.cc & build.h Errors in src/3rdparty (LLVM 17)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.12
    • WebEngine
    • OS: Gentoo Linux (LLVM built)
      C/C++ Toolchain Information: LLVM 17, Clang 17, libc++, glibc
      Python Version: 3.11.7
      Node Version: 20.11.0
    • Linux/Wayland, Linux/X11

      Building qtwebengine with LLVM 17 fails, as such:

      In file included from /var/tmp/portage/dev-qt/qtwebengine-5.15.12_p20240122/work/qtwebengine-5.15.12_p20240122/src/3rdparty/ninja/src/build.cc:15: 
      /var/tmp/portage/dev-qt/qtwebengine-5.15.12_p20240122/work/qtwebengine-5.15.12_p20240122/src/3rdparty/ninja/src/build.h:181:3: error: no template named 'auto_ptr' 
       181 |   auto_ptr<CommandRunner> command_runner_; 
           |   ^ 
      /var/tmp/portage/dev-qt/qtwebengine-5.15.12_p20240122/work/qtwebengine-5.15.12_p20240122/src/3rdparty/ninja/src/build.cc:444:29: error: use of undeclared identifier 'mem_fun'; did you mean 
            'mem_fn'? 
       444 |     if (find_if(begin, end, mem_fun(&Node::dirty)) == end) { 
           |                             ^~~~~~~ 
           |                             mem_fn 
      /usr/include/c++/v1/__functional/mem_fn.h:51:1: note: 'mem_fn' declared here 
        51 | mem_fn(_Rp _Tp::* __pm) _NOEXCEPT 
           | ^ 
      2 errors generated. 

      This is quite an issue for me, personally, as my system actually has several things that depend on updating this component.

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

            qt_webengine_team Qt WebEngine Team
            neko-san Jose Perez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes