1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
C:\Users\Plavsa\Desktop\Projekti\turisti\main.cpp||In function 'int main()':|
C:\Users\Plavsa\Desktop\Projekti\turisti\main.cpp|44|error: no matching function for call to 'lexicographical_compare(std::string&, std::basic_string<char>::size_type, std::string&, std::basic_string<char>::size_type)'|
C:\Users\Plavsa\Desktop\Projekti\turisti\main.cpp|44|note: candidates are:|
d:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_algobase.h|1086|note: template<class _II1, class _II2> bool std::lexicographical_compare(_II1, _II1, _II2, _II2)|
d:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_algobase.h|1086|note: template argument deduction/substitution failed:|
C:\Users\Plavsa\Desktop\Projekti\turisti\main.cpp|44|note: deduced conflicting types for parameter '_II1' ('std::basic_string<char>' and 'unsigned int')|
d:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_algobase.h|1120|note: template<class _II1, class _II2, class _Compare> bool std::lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)|
d:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_algobase.h|1120|note: template argument deduction/substitution failed:|
|44|note: deduced conflicting types for parameter '_II1' ('std::basic_string<char>' and 'unsigned int')|
||=== Build finished: 1 errors, 2 warnings (0 minutes, 0 seconds) ===|
|