[email protected]
[Top] [All Lists]

Bug#417300: marked as forwarded (FTBFS with GCC 4.3: missing #includes)

Subject: Bug#417300: marked as forwarded FTBFS with GCC 4.3: missing #includes
From: Debian Bug Tracking System
Date: Tue, 03 Apr 2007 08:57:03 +0000
Your message dated Tue, 3 Apr 2007 10:55:42 +0200
with message-id <[email protected]>
has caused the Debian Bug report #417300,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as having been forwarded to the upstream software
author(s) Tobias KÃnig <[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: Fwd: [pkg-kolab] Bug#417300: FTBFS with GCC 4.3: missing #includes
From: Peter Eisentraut
Date: Tue, 3 Apr 2007 10:55:42 +0200
----------  Forwarded Message  ----------

Subject: [pkg-kolab] Bug#417300: FTBFS with GCC 4.3: missing #includes
Date: Monday 02 April 2007 11:46
From: Martin Michlmayr <[email protected]>
To: [email protected]

Package: kolabadmin
Version: 0.0.20061103-1
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 kolabadmin_0.0.20061103-1 on em64t by sbuild/amd64
> 0.53

...

>                  from qldap.cpp:19:
> /usr/include/qt4/QtCore/qstring.h:715: warning: type qualifiers
> ignored on function return type
> /usr/include/qt4/QtCore/qstring.h:716: warning: type qualifiers
> ignored on function return type
> /usr/include/qt4/QtCore/qstring.h:721: warning: type qualifiers
> ignored on function return type qldap.cpp: In member function
> 'QLdapResponse QLdap::search(const QString&, QLdap::Scope, const
> QString&, const QStringList&, const QString&)': qldap.cpp:133: error:
> 'malloc' was not declared in this scope qldap.cpp:193: error: 'free'
> was not declared in this scope
> qldap.cpp:194: error: 'free' was not declared in this scope
> qldap.cpp: In member function 'bool QLdap::change(const QString&,
> const QLdapEntry&, int)': qldap.cpp:291: error: 'malloc' was not
> declared in this scope qldap.cpp:339: error: 'free' was not declared
> in this scope
> qldap.cpp:352: error: 'free' was not declared in this scope
> make[1]: *** [qldap.o] Error 1

--- qldap.cpp~  2007-04-02 09:37:26.000000000 +0000
+++ qldap.cpp   2007-04-02 09:37:31.000000000 +0000
@@ -18,6 +18,7 @@

 #include "qldap.h"

+#include <cstdlib>
 #include <ldap.h>
 #include <errno.h>


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


_______________________________________________
pkg-kolab-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-kolab-devel

-------------------------------------------------------

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#417300: marked as forwarded (FTBFS with GCC 4.3: missing #includes), Debian Bug Tracking System <=