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

Qt 5.6.2 build failure with GCC 7.0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.8.0
    • 5.6.2
    • Core: Other
    • None
    • Fedora Rawhide (F26).
      Qt 5.6.2 LTS.
      GCC/GCC-C++ 7.0.0.

    Description

      Qt 5.6.2 build failure with GCC 7.0.0:

      In file included from mimetypes/qmimedatabase.cpp:42:0:
      mimetypes/qmimeprovider_p.h:59:7: note: forward declaration of 'class QMimeMagicRuleMatcher'
       class QMimeMagicRuleMatcher;
             ^~~~~~~~~~~~~~~~~~~~~
      In file included from ../../include/QtCore/qlist.h:1:0,
                       from ../../include/QtCore/../../src/corelib/kernel/qobject.h:43,
                       from ../../include/QtCore/qobject.h:1,
                       from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:40,
                       from ../../include/QtCore/qcoreapplication.h:1,
                       from global/qt_pch.h:56:
      ../../include/QtCore/../../src/corelib/tools/qlist.h:484:31: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
               while(from != to) --to, delete reinterpret_cast<T*>(to->v);
      ../../include/QtCore/../../src/corelib/tools/qlist.h:486:61: error: invalid use of incomplete type 'class QMimeMagicRuleMatcher'
               while (from != to) --to, reinterpret_cast<T*>(to)->~T();
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
      In file included from mimetypes/qmimedatabase.cpp:42:0:
      mimetypes/qmimeprovider_p.h:59:7: note: forward declaration of 'class QMimeMagicRuleMatcher'
       class QMimeMagicRuleMatcher;
             ^~~~~~~~~~~~~~~~~~~~~
      make[2]: *** [Makefile:37833: .obj/qmimedatabase.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            jirauser43449 user-5a8b4 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes