Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
5.9.0 Alpha
-
None
-
Windows 8.1 (msvc2013-x86_64) Packaging, DebugAndRelease, Release, OpenGLDynamic
-
8a410f60ae39b06555d807581caf7cb8bfab4fac
Description
https://codereview.qt-project.org/#/c/182100/
http://testresults.qt.io/coin/integration/qt/qt5/tasks/1485887996
http://testresults.qt.io/logs/qt/qtserialbus/7c8ec17ceb0c61aecb13deaf77a358bb2ddf9542/WindowsWindows_8_1x86_64WindowsWindows_8_1x86_64MSVC2013qtci-windows-8-x86_64-248423DebugAndRelease_Release_OpenGLDynamic/fa92b5f7db017124e611aaf19083f76c4dd299cd/buildlog.txt.gz
c:\Users\qt\work\qt\qtserialbus>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64 jom 1.1.0 - empower your cores cd src\ && ( if not exist Makefile c:\Users\qt\work\install\bin\qmake.exe -o Makefile C:\Users\qt\work\qt\qtserialbus\src\src.pro ) && C:\utils\jom\jom.exe -f Makefile cd serialbus\ && ( if not exist Makefile c:\Users\qt\work\install\bin\qmake.exe -o Makefile C:\Users\qt\work\qt\qtserialbus\src\serialbus\serialbus.pro ) && C:\utils\jom\jom.exe -f Makefile <srcbase> = C:/Users/qt/work/qt/qtserialbus <outbase> = C:/Users/qt/work/qt/qtserialbus QtSerialBus: created fwd-include header(s) for <srcbase>/src/serialbus/ { qcanbus.h (2), qcanbusdevice.h (2), qcanbusdevice_p.h (1), qcanbusdeviceinfo.h (2), qcanbusdeviceinfo_p.h (1), qcanbusfactory.h (2), qcanbusframe.h (2), qmodbus_symbols_p.h (1), qmodbusadu_p.h (1), qmodbusclient.h (2), qmodbusclient_p.h (1), qmodbuscommevent_p.h (1), qmodbusdataunit.h (3), qmodbusdevice.h (2), qmodbusdevice_p.h (1), qmodbusdeviceidentification.h (2), qmodbuspdu.h (5), qmodbusreply.h (2), qmodbusrtuserialmaster.h (2), qmodbusrtuserialmaster_p.h (1), qmodbusrtuserialslave.h (2), qmodbusrtuserialslave_p.h (1), qmodbusserver.h (2), qmodbusserver_p.h (1), qmodbustcpclient.h (2), qmodbustcpclient_p.h (1), qmodbustcpserver.h (2), qmodbustcpserver_p.h (1), qserialbusglobal.h (1) } QtSerialBus: created version header QtSerialBus: created master header QtSerialBus: created headers.pri file Project MESSAGE: perl -w c:\Users\qt\work\install\bin\syncqt.pl -module QtSerialBus -version 5.9.0 -outdir C:/Users/qt/work/qt/qtserialbus C:/Users/qt/work/qt/qtserialbus C:\utils\jom\jom.exe -f Makefile.Release all cl -c -Yc -Fp.pch\release\Qt5SerialBus_pch.pch -Fo.pch\release\Qt5SerialBus_pch.obj -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I..\..\include -I..\..\include\QtSerialBus -I..\..\include\QtSerialBus\5.9.0 -I..\..\include\QtSerialBus\5.9.0\QtSerialBus -Itmp -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtSerialPort -I.moc\release -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -Ic:\Users\qt\work\install\mkspecs\win32-msvc -TP ..\..\include\QtSerialBus\QtSerialBusDepends QtSerialBusDepends rc -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -fo .obj\release\Qt5SerialBus_resource.res Qt5SerialBus_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17298 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -FIQtSerialBusDepends -YuQtSerialBusDepends -Fp.pch\release\Qt5SerialBus_pch.pch -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I..\..\include -I..\..\include\QtSerialBus -I..\..\include\QtSerialBus\5.9.0 -I..\..\include\QtSerialBus\5.9.0\QtSerialBus -Itmp -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtSerialPort -I.moc\release -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -Ic:\Users\qt\work\install\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\qt\AppData\Local\Temp\qcanbusdevice.obj.2816.9656.jom qcanbusdevice.cpp qcanbusdeviceinfo.cpp qcanbus.cpp qcanbusfactory.cpp qcanbusframe.cpp qmodbusserver.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(251) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(247) : while compiling class template member function 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(123) : see reference to function template instantiation 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' being compiled qmodbusserver.cpp(737) : see reference to class template instantiation 'std::bitset<0x08>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(253) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' qmodbusdevice.cpp Generating Code... C:\utils\jom\jom.exe -f Makefile.Debug all jom: C:\Users\qt\work\qt\qtserialbus\src\serialbus\Makefile.Debug [.obj\debug\qcanbusdevice.obj] Error 2 cl -c -Yc -Fp.pch\debug\Qt5SerialBusd_pch.pch -Fo.pch\debug\Qt5SerialBusd_pch.obj -nologo -Zc:wchar_t -FS -Zi -MDd -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 /Fd.obj\debug\Qt5SerialBusd.vc.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D_WINDLL -I. -I..\..\include -I..\..\include\QtSerialBus -I..\..\include\QtSerialBus\5.9.0 -I..\..\include\QtSerialBus\5.9.0\QtSerialBus -Itmp -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtSerialPort -I.moc\debug -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -Ic:\Users\qt\work\install\mkspecs\win32-msvc -TP ..\..\include\QtSerialBus\QtSerialBusDepends QtSerialBusDepends rc -D_DEBUG -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D_WINDLL -fo .obj\debug\Qt5SerialBusd_resource.res Qt5SerialBusd_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17298 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -FIQtSerialBusDepends -YuQtSerialBusDepends -Fp.pch\debug\Qt5SerialBusd_pch.pch -nologo -Zc:wchar_t -FS -Zi -MDd -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 /Fd.obj\debug\Qt5SerialBusd.vc.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D_WINDLL -I. -I..\..\include -I..\..\include\QtSerialBus -I..\..\include\QtSerialBus\5.9.0 -I..\..\include\QtSerialBus\5.9.0\QtSerialBus -Itmp -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtSerialPort -I.moc\debug -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -Ic:\Users\qt\work\install\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\qt\AppData\Local\Temp\qcanbusdevice.obj.3328.9656.jom qcanbusdevice.cpp qcanbusdeviceinfo.cpp qcanbus.cpp qcanbusfactory.cpp qcanbusframe.cpp qmodbusserver.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(251) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(247) : while compiling class template member function 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(123) : see reference to function template instantiation 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' being compiled qmodbusserver.cpp(737) : see reference to class template instantiation 'std::bitset<0x08>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(253) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' qmodbusdevice.cpp Generating Code... JobClient destroyed while still acquiring. jom: C:\Users\qt\work\qt\qtserialbus\src\serialbus\Makefile.Release [.obj\release\qcanbusdevice.obj] Error 2 cl -c -FIQtSerialBusDepends -YuQtSerialBusDepends -Fp.pch\release\Qt5SerialBus_pch.pch -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 -DUNICODE -DWIN32 -DWIN64 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALBUS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I..\..\include -I..\..\include\QtSerialBus -I..\..\include\QtSerialBus\5.9.0 -I..\..\include\QtSerialBus\5.9.0\QtSerialBus -Itmp -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtSerialPort -I.moc\release -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -Ic:\Users\qt\work\install\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\qt\AppData\Local\Temp\qmodbusdataunit.obj.2816.16500.jom qmodbusdataunit.cpp qmodbusclient.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(251) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(247) : while compiling class template member function 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(123) : see reference to function template instantiation 'std::bitset<0x08> &std::bitset<0x08>::set(size_t,bool)' being compiled qmodbusclient.cpp(307) : see reference to class template instantiation 'std::bitset<0x08>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\bitset(253) : error C2666: 'operator /' : 10 overloads have similar conversions c:\Users\qt\work\install\include\QtCore/qsize.h(255): could be 'const QSizeF operator /(const QSizeF &,qreal)' c:\Users\qt\work\install\include\QtCore/qsize.h(91): or 'const QSize operator /(const QSize &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(427): or 'QMarginsF operator /(const QMarginsF &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(213): or 'QMargins operator /(const QMargins &,qreal)' c:\users\qt\work\install\include\qtcore\qmargins.h(207): or 'QMargins operator /(const QMargins &,int)' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(int,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(176): or 'double operator /(qfloat16,int) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(float,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(166): or 'float operator /(qfloat16,float) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(165): or 'double operator /(qfloat16,double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(long double,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(164): or 'long double operator /(qfloat16,long double) throw()' c:\Users\qt\work\install\include\QtCore/qfloat16.h(148): or 'qfloat16 operator /(qfloat16,qfloat16) throw()' c:\Users\qt\work\install\include\QtCore/qpoint.h(254): or 'const QPointF operator /(const QPointF &,qreal)' c:\Users\qt\work\install\include\QtCore/qpoint.h(94): or 'const QPoint operator /(const QPoint &,qreal)' while trying to match the argument list '(size_t, )' qmodbusrtuserialmaster.cpp qmodbustcpclient.cpp qmodbustcpserver.cpp qmodbuspdu.cpp qmodbusdeviceidentification.cpp Generating Code... jom: C:\Users\qt\work\qt\qtserialbus\src\serialbus\Makefile.Release [.obj\release\qmodbusdataunit.obj] Error 2 jom: C:\Users\qt\work\qt\qtserialbus\src\serialbus\Makefile [release-all] Error 2 jom: C:\Users\qt\work\qt\qtserialbus\src\serialbus\Makefile [debug-all] Error 2 jom: C:\Users\qt\work\qt\qtserialbus\src\Makefile [sub-serialbus-make_first] Error 2 jom: C:\Users\qt\work\qt\qtserialbus\Makefile [sub-src-make_first] Error 2 agent:2017/01/31 21:06:20 build.go:200: Process finished with error: exit status 2 agent:2017/01/31 21:06:20 agent.go:160: Build failed agent:2017/01/31 21:06:20 agent.go:117: ERROR building: exit status 2 agent:2017/01/31 21:06:20 build.go:152: Error reading from stdout/err: exit status 2
Attachments
Issue Links
- relates to
-
QTBUG-72073 [REG 5.11->5.12] MSVC 64bit: Compile error C2666 when using std::bitset with QtCore
- Closed
-
QTBUG-72073 [REG 5.11->5.12] MSVC 64bit: Compile error C2666 when using std::bitset with QtCore
- Closed