This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 3.4.6 to GCC 4.1.1 migration
- From: Nasredine Semmar <nasredine dot semmar at cea dot fr>
- To: gcc at gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Thu, 24 May 2007 18:19:24 +0200
- Subject: 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