Package: g++-3.3 Version: 1:3.3.2-4 Severity: normal orion:c++$ cat stl4.cxx #include <algorithm> #include <list> using namespace std; int main() { list<int> a; sort(a.begin(), a.end()); return 0; }
This doesn't compile, it looks like valid C++ code. There is either a bug in the std lib or the compiler I don't have the time to figure it out. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux orion 2.4.21-xfs #2 Tue Nov 11 22:28:38 EET 2003 i686 Locale: LANG=C, LC_CTYPE= Versions of packages g++-3.3 depends on: ii gcc-3.3 1:3.3.2-4 The GNU C compiler ii gcc-3.3-base 1:3.3.2-4 The GNU Compiler Collection (base ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an ii libstdc++5-3.3-dev 1:3.3.2-4 The GNU Standard C++ Library v3 (d -- no debconf information