Bug#147925: libapt-pkg-dev: Files in /usr/include/apt-pkg #include deprecated C++ headers
Package: libapt-pkg-dev
Version: 0.5.4
Severity: important
Tags: sid
(this bug pertains to compilation with g++-3.1, which is supposedly
going to be the default in woody+1)
Normally, when a program has internal warnings, I figure it's its own
business; however, apt's public header files have this problem. This
will screw up programs which use apt and compile with -Werror. (it
also seems to break my configure tests)
configure:3586: g++-3.1 -E conftest.C >/dev/null 2>conftest.out
In file included from /usr/include/g++-v3-3.1/backward/vector.h:59,
from /usr/include/apt-pkg/pkgsystem.h:45,
from /usr/include/apt-pkg/init.h:17,
from configure:3582:
/usr/include/g++-v3-3.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
Daniel
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux torrent 2.4.18 #1 Mon Feb 25 16:10:17 EST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set)
Versions of packages libapt-pkg-dev depends on:
ii apt [libapt-pkg-libc6.2-3-2-3 0.5.4 Advanced front-end for dpkg
-- no debconf information
--
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
| "You keep on using that word. I do not think |
| it means what you think it means." |
| -- "The Princess Bride" |
\-Evil Overlord, Inc: planning your future today. http://www.eviloverlord.com-/
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: