[pkg-boost-devel] Bug#336848: libboost-dev: Cannot compile progam using boost::ptr_map with -frepo

Jan Gorski slimak at yk74.internetdsl.tpnet.pl
Tue Nov 1 16:53:12 UTC 2005


Package: libboost-dev
Version: 1.33.0-2
Severity: normal


Maybe I am doing something wrong, but with this program

--- file.cpp
#include <boost/ptr_container/ptr_map.hpp>

int main()
{
        boost::ptr_map<int, int> mint;
        int key = 1;
        mint.insert(key, new int);
        return 0;
}
--- EOF

g++ -c file.cpp --- works
g++ -frepo -c file.cpp --- gives 50kB of error messages

g++ --version
g++ (GCC) 4.0.2 (Debian 4.0.2-2)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'stable'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12dwapiii.1.0
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages libboost-dev depends on:
ii  libstdc++6-4.0-dev [libstdc++ 4.0.2-2    The GNU Standard C++ Library v3 (d

libboost-dev recommends no packages.

-- no debconf information




More information about the pkg-boost-devel mailing list