Package: lavaps
Version: 2.7-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 lavaps_2.7-4 on coconut0 by sbuild/ia64 0.49
...
> const_str.hh:48: warning: type qualifiers ignored on function return type
> const_str.hh: In static member function 'static void
> const_str::safe_free(const char*)':
> const_str.hh:33: error: 'free' was not declared in this scope
--- src/const_str.hh~ 2007-04-02 10:25:52.000000000 +0000
+++ src/const_str.hh 2007-04-02 10:26:07.000000000 +0000
@@ -25,6 +25,7 @@
#define lavaps_const_str_h
#include <string.h>
+#include <cstdlib>
class const_str {
protected:
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]