Package: g++-3.3 Version: 1:3.3.2-4 Severity: normal The program below doesn't compile. If you change "isalnum" in ptr_fun to "isal", it compiles just fine, though.
-- CUT HERE -- #include <iostream> #include <string> #include <algorithm> #include <functional> #include <cctype> using namespace std; int isal(int c) { return isalnum(c); } int main(int argc, char **argv) { string component(argv[1]); if (find_if(component.begin(), component.end(), ptr_fun(isalnum)) != component.end()) { cerr << "Error\n"; return -1; } } -- CUT HERE -- -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux pisces 2.4.22 #4 Fri Sep 5 21:44:11 EDT 2003 i686 Locale: LANG=en_US, LC_CTYPE=en_US 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