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

QQuickAnchorsPrivate::leftAnchorLine is too small to hold all values of enum QQuickAnchors::Anchor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.7.0 Beta
    • None
    • RHEL 7.2 with GCC 5.2.1

    Description

      g++ -c -include .pch/Qt5Quick -pipe -g -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_BUILD_QUICK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_QML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../../include -I../../include/QtQuick -I../../include/QtQuick/5.7.0 -I../../include/QtQuick/5.7.0/QtQuick -I../../include/QtQml/5.7.0 -I../../include/QtQml/5.7.0/QtQml -I../../include/QtQml -I/home/qt/work/install/include/QtGui/5.7.0 -I/home/qt/work/install/include/QtGui/5.7.0/QtGui -I/home/qt/work/install/include/QtCore/5.7.0 -I/home/qt/work/install/include/QtCore/5.7.0/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtNetwork -I/home/qt/work/install/include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/qt/work/install/mkspecs/linux-g++ -o .obj/qquickanimatorjob.o util/qquickanimatorjob.cpp
      In file included from ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickitem_p.h:57:0,
                       from ../../include/QtQuick/5.7.0/QtQuick/private/qquickitem_p.h:1,
                       from util/qquickanimator.cpp:43:
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:186:48: error: ‘QQuickAnchorsPrivate::leftAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor leftAnchorLine     : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:188:48: error: ‘QQuickAnchorsPrivate::rightAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor rightAnchorLine    : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:190:48: error: ‘QQuickAnchorsPrivate::topAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor topAnchorLine      : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:192:48: error: ‘QQuickAnchorsPrivate::bottomAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor bottomAnchorLine   : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:195:48: error: ‘QQuickAnchorsPrivate::vCenterAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor vCenterAnchorLine  : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:197:48: error: ‘QQuickAnchorsPrivate::hCenterAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor hCenterAnchorLine  : 7;
                                                      ^
      ../../include/QtQuick/5.7.0/QtQuick/private/../../../../../src/quick/items/qquickanchors_p_p.h:199:48: error: ‘QQuickAnchorsPrivate::baselineAnchorLine’ is too small to hold all values of ‘enum QQuickAnchors::Anchor’ [-Werror]
           QQuickAnchors::Anchor baselineAnchorLine : 7;
                                                      ^
      

      Attachments

        Issue Links

          Activity

            People

              erikv Erik Verbruggen
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: