This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

GCC 3.4.6 to GCC 4.1.1 migration


Dear all,

I compiled and linked a framework  (GenPar) with GCC 3.4.6 and the framework 
worked perfectly.

I tried to compile and link the same framework with GCC 4.1.1 and I got many 
errors:

[/usr/bin/g++ -Wall -W -DNDEBUG -O3 -Wno-deprecated -c KategProblemTest.C -o 
Linux/KategProblemTest.o
myleda.h: In member function 'B& leda_h_array<A, B>::operator[](const A&) 
[with A = std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, B = int]':
KategProblemTest.C:96:   instantiated from here
myleda.h:177: error: no matching function for call to 'find(const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
KategProblemTest.C:96:   instantiated from here
myleda.h:181: error: no matching function for call to 'find(const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)']

Could you, please, help me ?

Regards,

Nasredine


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