Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
5.10
-
None
-
e5ee1e036eaecb91797cbe85ac7f8929145f3d65
Description
https://codereview.qt-project.org/#/c/187993/
http://testresults.qt.io/coin/integration/qt/qt5/tasks/1490031461
http://testresults.qt.io/logs/qt/qtmultimedia/1794fdf964b32f28132eaa5c3289eadef0f18e82/LinuxUbuntu_14_04x86_64LinuxUbuntu_14_04x86_64GCCqtci-linux-Ubuntu-14.04-x86_64-4577f2DeveloperBuild_OutOfSourceBuild_QtLibInfix_QtNamespace/cc33633404bc466e1f985e02ea2778bb9e59f0ae/build_1490031827/buildlog.txt.gz
In file included from ../../include/QtMultimedia/qcamera.h:1:0, from /home/qt/work/qt/qtmultimedia/src/multimedia/qmediaserviceproviderplugin.h:47: ../../include/QtMultimedia/../../../qt/qtmultimedia/src/multimedia/camera/qcamera.h: In function ‘constexpr bool TestNamespace::operator==(const TestNamespace::QCamera::FrameRateRange&, const TestNamespace::QCamera::FrameRateRange&)’: ../../include/QtMultimedia/../../../qt/qtmultimedia/src/multimedia/camera/qcamera.h:261:36: error: comparing floating point with == or != is unsafe [-Werror=float-equal] { return r1.minimumFrameRate == r2.minimumFrameRate && r1.maximumFrameRate == r2.maximumFrameRate; } ^ ../../include/QtMultimedia/../../../qt/qtmultimedia/src/multimedia/camera/qcamera.h:261:82: error: comparing floating point with == or != is unsafe [-Werror=float-equal] { return r1.minimumFrameRate == r2.minimumFrameRate && r1.maximumFrameRate == r2.maximumFrameRate; } ^