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

qeglfskmsgbmdevice.cpp:147:5: error: missing initializer for member ‘_drmEventContext::page_flip_handler2’

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 3
    • 5.9.0 Beta 1
    • QPA: EGLFS
    • None
    • Archlinux, gcc 6.3.1, libdrm 2.4.78
    • 34d2fd14979198dc0fcc07f73581ece9540c4b72

    Description

      When trying to compile the current dev branch, I get:

      make[5]: Entering directory '/home/florian/code/qt/qt5/qtbase/src/plugins/platforminputcontexts/compose'
      /home/florian/code/qt/qt5/qtbase/bin/moc -DX11_PREFIX=\"/usr\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB --include .moc/moc_predefs.h -I/home/florian/code/qt/qt5/qtbase/mkspecs/linux-g++ -I/home/florian/code/qt/qt5/qtbase/src/plugins/platforminputcontexts/compose -I/home/florian/code/qt/qt5/qtbase/include/QtGui/5.10.0 -I/home/florian/code/qt/qt5/qtbase/include/QtGui/5.10.0/QtGui -I/home/florian/code/qt/qt5/qtbase/include -I/home/florian/code/qt/qt5/qtbase/include/QtGui -I/home/florian/code/qt/qt5/qtbase/include/QtCore/5.10.0 -I/home/florian/code/qt/qt5/qtbase/include/QtCore/5.10.0/QtCore -I/home/florian/code/qt/qt5/qtbase/include/QtCore -I/usr/include/c++/6.3.1 -I/usr/include/c++/6.3.1/x86_64-pc-linux-gnu -I/usr/include/c++/6.3.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed -I/usr/include qcomposeplatforminputcontextmain.cpp -o .moc/qcomposeplatforminputcontextmain.moc
      g++ -c -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -DX11_PREFIX=\"/usr\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include/QtGui/5.10.0 -I../../../../include/QtGui/5.10.0/QtGui -I../../../../include -I../../../../include/QtGui -I../../../../include/QtCore/5.10.0 -I../../../../include/QtCore/5.10.0/QtCore -I../../../../include/QtCore -I.moc -isystem /usr/include/libdrm -I../../../../mkspecs/linux-g++ -o .obj/qcomposeplatforminputcontext.o qcomposeplatforminputcontext.cpp
      qeglfskmsgbmdevice.cpp: In member function ‘void QEglFSKmsGbmDevice::handleDrmEvent()’:
      qeglfskmsgbmdevice.cpp:147:5: error: missing initializer for member ‘_drmEventContext::page_flip_handler2’ [-Werror=missing-field-initializers]
           };
           ^
      cc1plus: all warnings being treated as errors
      make[7]: *** [Makefile:1898: .obj/qeglfskmsgbmdevice.o] Error 1
      make[7]: Leaving directory '/home/florian/code/qt/qt5/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms'
      make[6]: *** [Makefile:97: sub-eglfs_kms-make_first] Error 2
      

      Attachments

        Activity

          People

            lagocs Laszlo Agocs
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: