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

src/gui/text/qtextdocument.h:154:5: error: division by zero in #if

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • None
    • 5.14.0
    • GUI: Text handling
    • None
    • Gentoo Linux, gcc 9.2.0, Sparc T5120
    • Linux/Other display system

       * Configuring with: -prefix /usr -bindir /usr/lib/qt5/bin -headerdir /usr/include/qt5 -libdir /usr/lib -archdatadir /usr/lib/qt5 -plugindir /usr/lib/qt5/plugins -libexecdir /usr/lib/qt5/libexec -importdir /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -datadir /us
      r/share/qt5 -docdir /usr/share/qt5-doc -translationdir /usr/share/qt5/translations -sysconfdir /etc/xdg -examplesdir /usr/share/qt5/examples -testsdir /usr/share/qt5/tests -platform linux-g++ -release -no-separate-debug-info -no-optimized-tools -opensource -confir
      m-license -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -pkg-config -system-zlib -system-pcre -system-doubleconversion -no-mtdev -no-journald -no-syslog -no-libpng -n
      o-libjpeg -no-freetype -no-harfbuzz -no-openssl -no-libproxy -no-xcb-xlib -no-xcb-xinput -no-xkbcommon -glib -no-gtk -nomake examples -nomake tests -no-compile-examples -no-rpath -verbose -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus -no-strip -no-p
      ch -no-ltcg -no-use-gold-linker -no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -no-xkb -sm -qreal double -no-opengl -no-egl -no-libinput -system-proxies -no-warnings-are-errors -no-gui -no-widgets -no-zstd -no-feature-statx -icu -no-iconv -no-journald
      
      In file included from ../../../../../include/QtCore/qglobal.h:1,
                       from ../../../../../include/QtCore/QtCore:4,
                       from /usr/include/qt5/QtTest/QtTestDepends:3,
                       from ../../../../../include/QtTest/QtTest:3,
                       from tst_qitemselectionmodel.cpp:29:
      ../../../../../include/QtGui/../../src/gui/text/qtextdocument.h:154:5: error: division by zero in #if
        154 | #if QT_CONFIG(textmarkdownwriter) || QT_CONFIG(textmarkdownreader)
            |     ^~~~~~~~~
      ../../../../../include/QtGui/../../src/gui/text/qtextdocument.h:164:5: error: division by zero in #if
        164 | #if QT_CONFIG(textmarkdownwriter)
            |     ^~~~~~~~~
      ../../../../../include/QtGui/../../src/gui/text/qtextdocument.h:168:5: error: division by zero in #if
        168 | #if QT_CONFIG(textmarkdownreader)
            |     ^~~~~~~~~
      tst_qline.cpp: In member function ‘void tst_QLine::testAngle()’:
      tst_qline.cpp:432:35: warning: ‘qreal QLineF::angle(const QLineF&) const’ is deprecated: Use angleTo() instead, take care that the return value is between 0 and 360 degree. [-Wdeprecated-declarations]
        432 |     double resultAngle = a.angle(b);
            |                                   ^
      
      ../../../../../include/QtWidgets/../../src/widgets/widgets/qtextedit.h:74:5: error: division by zero in #if
         74 | #if QT_CONFIG(textmarkdownreader) && QT_CONFIG(textmarkdownwriter)
            |     ^~~~~~~~~
      ../../../../../include/QtWidgets/../../src/widgets/widgets/qtextedit.h:74:38: error: division by zero in #if
         74 | #if QT_CONFIG(textmarkdownreader) && QT_CONFIG(textmarkdownwriter)
            |                                      ^~~~~~~~~
      ../../../../../include/QtWidgets/../../src/widgets/widgets/qtextedit.h:180:5: error: division by zero in #if
        180 | #if QT_CONFIG(textmarkdownwriter)
            |     ^~~~~~~~~
      ../../../../../include/QtWidgets/../../src/widgets/widgets/qtextedit.h:247:5: error: division by zero in #if
        247 | #if QT_CONFIG(textmarkdownreader)
            |     ^~~~~~~~~
      

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

            srutledg Shawn Rutledge
            Dakon Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes