Borderou de evaluare (job #73375)

Utilizator gigi_becaliGigi Becali gigi_becali Data 18 iulie 2007 10:29:33
Problema Cutii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/hash_map.h:59, from user.cpp:3: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:24:2: warning: no newline at end of file user.cpp:9: error: specialization of 'template<class _Key> struct __gnu_cxx::hash' in different namespace /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/hash_fun.h:71: error: from definition of 'template<class _Key> struct __gnu_cxx::hash' user.cpp:11: error: definition of 'size_t __gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(const std::string&)' is not in namespace enclosing '__gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >'

Ceva nu functioneaza?