GCC 3.4.6 to GCC 4.1.1 migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux