This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with tr1/functional header


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]