Package: kguitar
Version: 0.5-2
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 kguitar_0.5-2 on coconut0 by sbuild/ia64 0.49
...
> convertgp3.cpp: In member function 'virtual bool ConvertGp3::load(QString)':
> convertgp3.cpp:86: warning: conversion to 'long int' from 'Q_ULONG' may alter 
> its value
> convertgp3.cpp:87: error: 'malloc' was not declared in this scope
> convertgp3.cpp:89: warning: conversion to 'uint' from 'long int' may alter 
> its value
> convertgp3.cpp:98: error: 'free' was not declared in this scope

--- kguitar/convertgp3.cpp~     2007-04-02 10:08:58.000000000 +0000
+++ kguitar/convertgp3.cpp      2007-04-02 10:09:04.000000000 +0000
@@ -1,6 +1,7 @@
 #include "convertgp3.h"
 #include "settings.h"
 
+#include <cstdlib>
 #include <qfile.h>
 #include <qdatastream.h>
 
--- kguitar/convertgtp.cpp~     2007-04-02 10:10:42.000000000 +0000
+++ kguitar/convertgtp.cpp      2007-04-02 10:10:47.000000000 +0000
@@ -2,6 +2,7 @@
 
 #include <qfile.h>
 #include <qdatastream.h>
+#include <cstdlib>
 
 ConvertGtp::ConvertGtp(TabSong *song): ConvertBase(song) {}
 

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to