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

warning in QtCore with gcc-14.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.7.0
    • Core: Other
    • None
    • Linux n97 6.8.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 x86_64 GNU/Linux
    • Linux/X11

    Description

      with gcc-14.1.0 there came a slew of new warnings and even errors:

      {{In file included from /usr/include/qt6/QtCore/qfuture.h:9,
      from /usr/include/qt6/QtCore/QtCore:109,
      from /usr/include/qt6/QtQml/QtQmlDepends:3,
      from /usr/include/qt6/QtQml/QtQml:3,
      from example.cpp:1:
      /usr/include/qt6/QtCore/qfutureinterface.h:472:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
      472 | explicit QFutureInterface<void>(State initialState = NoState)

      ^~~~~
      /usr/include/qt6/QtCore/qfutureinterface.h:472:37: note: remove the '< >'}}

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              janezzabc Janez Žemva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes