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

Bug#429378: Causes FTBFS of client code with g++-4.3.



Package: apt
Version: 0.7.2
Severity: important

  While trying some test builds with g++-4.3, I discovered that apt's
headers cause user code to fail.

  I don't know that this is a complete list, but here are the ones I ran
into.

  * depcache.h needs to include <memory> for auto_ptr.

  * pkgCacheGenerator::NewPackage has two parameters named Pkg; one
    of them needs to be renamed.

  * strutl.h needs to include <string.h> for a whole pile of C string
    functions.

  Daniel

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2007.02.19-0.1   GnuPG archive keys of the Debian a
ii  libc6                   2.5-11           GNU C Library: Shared libraries
ii  libgcc1                 1:4.2-20070609-1 GCC support library
ii  libstdc++6              4.2-20070609-1   The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: