Bug 28143
Summary: | [QT] [ARM] ImageDiff.cpp does not build | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antonio Gomes <tonikitoo> |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | gyuyoung, hausmann, laszlo.gombos |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Antonio Gomes
(...)
g++ -c -pipe -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -DENABLE_VIDEO=0 -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../../WebKit/qt/Api -I../../../JavaScriptCore -I. -o ImageDiff.o ImageDiff.cpp
ImageDiff.cpp: In function 'int main(int, char**)':
ImageDiff.cpp:107: warning: converting to 'int' from 'qreal'
ImageDiff.cpp:123: error: no matching function for call to 'qMax(qreal&, double)'
make[1]: *** [ImageDiff.o] Error 1
make[1]: Leaving directory `/home/root/webkit/tonikitoos-clone/WebKitTools/DumpRenderTree/qt'
make: *** [sub-WebKitTools-DumpRenderTree-qt-ImageDiff-pro-make_default-ordered] Error 2
qt: 4.6 (master/qt in gitorious)
root@tonix:~/webkit/tonikitoos-clone# gcc -v
Using built-in specs.
Target: arm-mamona-linux-gnueabi
Configured with: /home/buildmaster/build/tmp/galah/autobuild/work/gcc-noemu-4.1.2-r0/gcc-4.1.2/configure --build=i686-linux --host=arm-mamona-linux-gnueabi --target=arm-mamona-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-mamona-linux-gnueabi- --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.1.2 --disable-libssp --with-slibdir=/lib --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.2
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antonio Gomes
r47574
thanks aryia