This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Problem with tr1/functional header
- From: Matt Austern <austern at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Wed, 23 Feb 2005 19:27:04 -0800
- Subject: Problem with tr1/functional header
- Reply-to: Matt Austern <austern at gmail dot com>
Am I doing something wrong, or is there some big problem with
tr1/functional? As of today, if I try to compile a file that just
contains
#include <tr1/functional>
I get tons of errors, such as:
/Users/matt/root/lib/gcc/powerpc-apple-darwin7.8.0/4.0.0/../../../../include/c++/4.0.0/tr1/functional:194:
error: expected nested-name-specifier before numeric constant
...
/Users/matt/root/lib/gcc/powerpc-apple-darwin7.8.0/4.0.0/../../../../include/c++/4.0.0/tr1/functional_iterate.h:
In static member function 'static _Res
std::tr1::_Function_handler<_Res ()(), _Member
_Class::*>::_M_invoke(const std::tr1::_Any_data&)':
/Users/matt/root/lib/gcc/powerpc-apple-darwin7.8.0/4.0.0/../../../../include/c++/4.0.0/tr1/functional_iterate.h:329:
error: 'mem_fn' is not a member of 'std::tr1'
--Matt