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

qglobal.h: error: floating-point equality and inequality comparisons are unreliable

    XMLWordPrintable

Details

    • Linux/X11
    • add4b56b21bae5cef222ee23e00707664ca50e7f (qt/qtbase/dev)

    Description

      https://codereview.qt-project.org/#/c/258978/ Update submodules on 'dev' in qt5 - PS19

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1557221884

      https://testresults.qt.io/logs/qt/qtscript/81ac6b8d539c86258b2cbcdfc6183e95eec9efb0/LinuxopenSUSE_15_0x86_64LinuxopenSUSE_15_0x86_64ICC_18qtci-linux-openSUSE-15.0-x86_64-d0c26fDeveloperBuild_DisableTests_NoPch_SystemSQLite/c8ac4567cd76f416402fe5156e8029a0526d7f8b/build_1557222706/log.txt.gz

       In file included from /home/qt/work/install/include/QtCore/qnamespace.h(43),
                        from /home/qt/work/install/include/QtCore/qobjectdefs.h(48),
                        from api/qscriptable.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(911): error #1572: floating-point equality and inequality comparisons are unreliable
             return d == 0.0;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qnamespace.h(43),
                        from /home/qt/work/install/include/QtCore/qobjectdefs.h(48),
                        from api/qscriptable.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(916): error #1572: floating-point equality and inequality comparisons are unreliable
             return f == 0.0f;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qchar.h(43),
                        from /home/qt/work/install/include/QtCore/qstring.h(48),
                        from api/qscriptclass.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(911): error #1572: floating-point equality and inequality comparisons are unreliable
             return d == 0.0;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qchar.h(43),
                        from /home/qt/work/install/include/QtCore/qstring.h(48),
                        from api/qscriptclass.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(916): error #1572: floating-point equality and inequality comparisons are unreliable
             return f == 0.0f;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qnamespace.h(43),
                        from /home/qt/work/install/include/QtCore/qobjectdefs.h(48),
                        from api/qscriptcontext.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(911): error #1572: floating-point equality and inequality comparisons are unreliable
             return d == 0.0;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qnamespace.h(43),
                        from /home/qt/work/install/include/QtCore/qobjectdefs.h(48),
                        from api/qscriptcontext.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(916): error #1572: floating-point equality and inequality comparisons are unreliable
             return f == 0.0f;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qchar.h(43),
                        from /home/qt/work/install/include/QtCore/qstring.h(48),
                        from api/qscriptclasspropertyiterator.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(911): error #1572: floating-point equality and inequality comparisons are unreliable
             return d == 0.0;
                         ^
       
       In file included from /home/qt/work/install/include/QtCore/qchar.h(43),
                        from /home/qt/work/install/include/QtCore/qstring.h(48),
                        from api/qscriptclasspropertyiterator.h(27):
       /home/qt/work/install/include/QtCore/qglobal.h(916): error #1572: floating-point equality and inequality comparisons are unreliable
             return f == 0.0f;
                         ^
       
       compilation aborted for api/qscriptable.h (code 2)
       make[2]: *** [Makefile:1069: obj/debug/header_qscriptable.o] Error 2
       make[2]: *** Waiting for unfinished jobs....
       compilation aborted for api/qscriptcontext.h (code 2)
       make[2]: *** [Makefile:1266: obj/debug/header_qscriptcontext.o] Error 2
       compilation aborted for api/qscriptclasspropertyiterator.h (code 2)
       make[2]: *** [Makefile:1203: obj/debug/header_qscriptclasspropertyiterator.o] Error 2
       compilation aborted for api/qscriptclass.h (code 2)
       make[2]: *** [Makefile:1140: obj/debug/header_qscriptclass.o] Error 2
       make[2]: Leaving directory '/home/qt/work/qt/qtscript/src/script'
       make[1]: *** [Makefile:48: sub-script-make_first-ordered] Error 2
       make[1]: Leaving directory '/home/qt/work/qt/qtscript/src'
       make: *** [Makefile:49: sub-src-make_first] Error 2
       Process finished with error: exit status 2
       Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some
       Error reading from stdout/err: exit status 2
      

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes