[Debian-med-packaging] Bug#529276: FTBFS with GCC 4.4: missing #include
Martin Michlmayr
tbm at cyrius.com
Tue Jun 16 19:46:46 UTC 2009
found 529276 2.0.10-2
thanks
Unfortunately, this application still fails to build with GCC 4.4.
The simple fix is the patch below, but the real fix is probably
something else.
The problem is that Source/Common/zipstreamimpl.h has a namespace
"zlib_stream" which (via zipstreamimpl.hpp includes stdio.h).
According to the GCC folks "Putting a standard header inside a
namespace is undefined."
Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40465
* Martin Michlmayr <tbm at cyrius.com> [2009-05-18 13:37]:
> --- Source/Common/zipstreamimpl.h~ 2009-05-18 11:24:41.000000000 +0000
> +++ Source/Common/zipstreamimpl.h 2009-05-18 11:24:47.000000000 +0000
> @@ -52,6 +52,7 @@
> #ifndef _ZIPSTREAM_H_
> #define _ZIPSTREAM_H_
>
> +#include <cstdio>
> #include <vector>
> #include <string>
> #include <streambuf>
>
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Debian-med-packaging
mailing list