Package: kdebluetooth Version: 0.99+1.0beta2-4 Usertags: ftbfs-gcc-4.3 Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080 You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of kdebluetooth_0.99+1.0beta2-4 on em64t by sbuild/amd64 0.53 ... > /usr/share/qt3/include/qstring.h:920: warning: conversion to 'unsigned int' > from 'int' may alter its value > sdpdevice.cpp: In member function 'void > KBluetooth::SDP::Device::updateServices()': > sdpdevice.cpp:114: error: 'free' was not declared in this scope ... --- kdebluetooth/kbluetoothd/authhelper/auth-helper.cpp~ 2007-04-02 08:27:15.000000000 +0000 +++ kdebluetooth/kbluetoothd/authhelper/auth-helper.cpp 2007-04-02 08:27:21.000000000 +0000 @@ -7,6 +7,7 @@ * (at your option) any later version. * ***************************************************************************/ +#include <cstdlib> #include <iostream> #include <string> #include <errno.h> --- kdebluetooth/kbluetoothd/kbluetoothd/sdprecord.cpp~ 2007-04-02 08:26:23.000000000 +0000 +++ kdebluetooth/kbluetoothd/kbluetoothd/sdprecord.cpp 2007-04-02 08:26:42.000000000 +0000 @@ -11,6 +11,7 @@ #include "sdprecord.h" +#include <cstdlib> #include <qdom.h> #include <kdebug.h> #include <bluetooth/sdp_lib.h> --- kdebluetooth/bemused/main.cpp~ 2007-04-02 08:28:25.000000000 +0000 +++ kdebluetooth/bemused/main.cpp 2007-04-02 08:28:31.000000000 +0000 @@ -7,6 +7,7 @@ * (at your option) any later version. * ***************************************************************************/ +#include <cstdlib> #include <kapplication.h> #include <dcopclient.h> #include <kaboutdata.h> --- kdebluetooth/libkbluetooth/sdpdevice.cpp~ 2007-04-02 08:23:57.000000000 +0000 +++ kdebluetooth/libkbluetooth/sdpdevice.cpp 2007-04-02 08:24:03.000000000 +0000 @@ -9,6 +9,7 @@ * (at your option) any later version. * ***************************************************************************/ +#include <cstdlib> #include <assert.h> #include "sdpdevice.h" #include <kdebug.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

