fail biuld with Qt5 5.8.0rc-1

Issue #16 resolved
sL1pKn07 SpinFlo created an issue
g++ -c -pipe -O2 -fexpensive-optimizations -funit-at-a-time -std=c++11 -Wall -Wextra -Wredundant-decls -Wshadow -pedantic -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_REENTRANT -Wall -W -fPIC -DNDEBUG -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generated/moc -isystem /usr/include/libdrm -I../generated/ui -I/usr/lib/qt/mkspecs/linux-g++ -o ../generated/obj-release-64bit-gcc/vs_script_processor_dialog.o ../src/vapoursynth/vs_script_processor_dialog.cpp
../src/vapoursynth/vs_script_processor_dialog.cpp: In member function 'virtual void VSScriptProcessorDialog::slotCoreFramebufferUsedBytes(int64_t)':
../src/vapoursynth/vs_script_processor_dialog.cpp:213:53: error: call of overloaded 'toString(int64_t&)' is ambiguous
  QString number = QLocale::system().toString(a_bytes);
                                                     ^
In file included from /usr/include/qt/QtCore/QLocale:1:0,
                 from ../src/vapoursynth/vs_script_processor_dialog.cpp:15:
/usr/include/qt/QtCore/qlocale.h:954:13: note: candidate: QString QLocale::toString(qlonglong) const
     QString toString(qlonglong i) const;
             ^~~~~~~~
/usr/include/qt/QtCore/qlocale.h:955:13: note: candidate: QString QLocale::toString(qulonglong) const
     QString toString(qulonglong i) const;
             ^~~~~~~~
/usr/include/qt/QtCore/qlocale.h:1064:16: note: candidate: QString QLocale::toString(short int) const
 inline QString QLocale::toString(short i) const
                ^~~~~~~
/usr/include/qt/QtCore/qlocale.h:1066:16: note: candidate: QString QLocale::toString(ushort) const
 inline QString QLocale::toString(ushort i) const
                ^~~~~~~
/usr/include/qt/QtCore/qlocale.h:1068:16: note: candidate: QString QLocale::toString(int) const
 inline QString QLocale::toString(int i) const
                ^~~~~~~
/usr/include/qt/QtCore/qlocale.h:1070:16: note: candidate: QString QLocale::toString(uint) const
 inline QString QLocale::toString(uint i) const
                ^~~~~~~
/usr/include/qt/QtCore/qlocale.h:960:13: note: candidate: QString QLocale::toString(double, char, int) const
     QString toString(double i, char f = 'g', int prec = 6) const;
             ^~~~~~~~
/usr/include/qt/QtCore/qlocale.h:1072:16: note: candidate: QString QLocale::toString(float, char, int) const
 inline QString QLocale::toString(float i, char f, int prec) const
                ^~~~~~~
make: *** [Makefile:1786: ../generated/obj-release-64bit-gcc/vs_script_processor_dialog.o] Error 1

Comments (2)

  1. Log in to comment