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

Bug#421231: marked as done (FTBFS with GCC 4.3: missing #includes)



Your message dated Sat, 12 May 2007 22:31:14 +0200
with message-id <200705122231.14712.andete@debian.org>
and subject line FTBFS with GCC 4.3: missing #includes
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 ---
Package: sineshaper
Version: 0.4.2-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 (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in the near
future.)


> Automatic build of sineshaper_0.4.2-1 on em64t by sbuild/amd64 0.53
...
> In file included from dssiplugin.cpp:26:
> dssiplugin.hpp: In function 'size_t register_dssi(long unsigned int, const std::string&, LADSPA_Properties, const std::string&, const std::string&, const std::string&, const DSSIPortList&)':
> dssiplugin.hpp:208: error: there are no arguments to 'calloc' that depend on a template parameter, so a declaration of 'calloc' must be available
> dssiplugin.hpp:208: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> dssiplugin.hpp:220: error: there are no arguments to 'calloc' that depend on a template parameter, so a declaration of 'calloc' must be available
> dssiplugin.hpp:221: error: there are no arguments to 'calloc' that depend on a template parameter, so a declaration of 'calloc' must be available
> dssiplugin.hpp:223: error: there are no arguments to 'calloc' that depend on a template parameter, so a declaration of 'calloc' must be available
> make[3]: *** [dssiplugin.lo] Error 1
> make[3]: Leaving directory `/build/tbm/sineshaper-0.4.2/src/common'

--- src/common/dssiplugin.hpp~	2007-04-27 09:08:10.000000000 +0000
+++ src/common/dssiplugin.hpp	2007-04-27 09:08:20.000000000 +0000
@@ -26,6 +26,7 @@
 
 #include <unistd.h>
 
+#include <cstdlib>
 #include <cstring>
 #include <string>
 #include <vector>

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


--- End Message ---
--- Begin Message ---
Version: 0.4.2-2

--- End Message ---

Reply to: