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

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



Your message dated Tue, 18 Mar 2008 23:50:03 +0100
with message-id <20080318225003.GC32085@inutil.org>
and subject line Re: FTBFS with GCC 4.3: missing #includes
has caused the Debian Bug report #417170,
regarding FTBFS with GCC 4.3: missing #includes
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
417170: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417170
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ecos
Version: 2.0-0pre3
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 ecos_2.0-0pre3 on em64t by sbuild/amd64 0.53
...
> ../../../../../../../build-tree/ecos-2.0/tools/src/tools/configtool/standalone/common/cdl_exec.cxx:469: error: 'cwd' was not declared in this scope
> ../../../../../../../build-tree/ecos-2.0/tools/src/tools/configtool/standalone/common/cdl_exec.cxx: In member function 'bool cdl_exec::cmd_check()':
> ../../../../../../../build-tree/ecos-2.0/tools/src/tools/configtool/standalone/common/cdl_exec.cxx:665: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'size_t'
> make[4]: *** [cdl_exec.o] Error 1
> make[4]: Leaving directory `/build/tbm/ecos-2.0/build/tools/src/tools/configtool/standalone/common'

--- ecos-2.0/tools/src/tools/configtool/standalone/common/cdl_exec.cxx~	2007-04-01 18:21:39.000000000 +0000
+++ ecos-2.0/tools/src/tools/configtool/standalone/common/cdl_exec.cxx	2007-04-01 18:21:56.000000000 +0000
@@ -49,6 +49,7 @@
 #include <sys/param.h>  /* for MAXPATHLEN */
 #include <sys/cygwin.h> /* for cygwin_conv_to_win32_path() */
 #endif
+#include <climits>
 #include "build.hxx"
 #include "cdl_exec.hxx"
 

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


--- End Message ---
--- Begin Message ---
On Sun, Apr 01, 2007 at 07:29:19PM +0100, Martin Michlmayr wrote:
> Package: ecos
> Version: 2.0-0pre3
> 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

ecos has been removed from the archive, closing.

Cheers,
        Moritz


--- End Message ---

Reply to: