Bug#147925: Patches for deprecated C++ headers
Previously fenton@debian.org wrote:
> diff -ur apt-0.5.4.orig/apt-inst/contrib/extracttar.cc.orig apt-0.5.4/apt-inst/contrib/extracttar.cc.orig
> --- apt-0.5.4.orig/apt-inst/contrib/extracttar.cc.orig 2002-09-23 04:59:39.000000000 +0000
> +++ apt-0.5.4/apt-inst/contrib/extracttar.cc.orig 2002-09-23 04:59:49.000000000 +0000
> @@ -30,7 +30,7 @@
> #include <unistd.h>
> #include <signal.h>
> #include <fcntl.h>
> -#include <iostream>
> +#include <iostream.h>
This is incorrect. There are a few other like that one as well. If you
want to make it proper C++ you should also do things like use cerrno
instead of errno.h .
Wichert.
--
_________________________________________________________________
/wichert@wiggy.net This space intentionally left occupied \
| wichert@deephackmode.org http://www.wiggy.net/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: