[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347360: qt4-x11: FTBFS in ARM (no matching function for call to 'getXDefault(const char [4], const char [6], qreal*))



Package: qt4-x11
Version: 4.1.0-1
Severity: important

qt4 is FTBFS'ing in ARM with the following problem:
kernel/qapplication_x11.cpp: In function 'void
	qt_init(QApplicationPrivate*, int, Display*, Qt::HANDLE, Qt::HANDLE)':
kernel/qapplication_x11.cpp:1547: error: no matching function for call
	to 'getXDefault(const char [4], const char [6], qreal*)'
kernel/qapplication_x11.cpp:1174: note: candidates are: void
	getXDefault(const char*, const char*, int*)
kernel/qapplication_x11.cpp:1185: note:                 void
	getXDefault(const char*, const char*, double*)
kernel/qapplication_x11.cpp:1196: note:                 void
	getXDefault(const char*, const char*, bool*)
kernel/qapplication_x11.cpp: At global scope:
kernel/qapplication_x11.cpp:1185: warning: 'void getXDefault(const
	char*, const char*, double*)' defined but not used

the problem is that in ARM qreal is defined as float and not as double,
I guess the easiest fix would be to add another implementation of
getXDefault with prototype:
void getXDefault(const char*, const char*, float*) similar to the double
one in kernel/qapplication_x11.cpp.

Best regards

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: