Package: g++-4.0 Version: 4.0.3-1 Severity: normal The code below is correct but does not compile with g++ 4.0:
#include <map> typedef std::map<int,int> answers_type; answers_type answers; void func() { for (answers_type::const_reverse_iterator ai=answers.rbegin(); ai!=answers.rend(); ai++) ; } -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages g++-4.0 depends on: ii gcc-4.0 4.0.3-1 The GNU C compiler ii gcc-4.0-base 4.0.3-1 The GNU Compiler Collection (base ii libc6 2.3.6-7 GNU C Library: Shared libraries ii libstdc++6-4.0-dev 4.0.3-1 The GNU Standard C++ Library v3 (d g++-4.0 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]