|
Post by Bradley on Jun 10, 2005 14:57:59 GMT -5
This is where we will try to out-do each other with the starange error messages we generate while programming. Best thing I've seen recently: error C2664: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const std::basic_string<_Elem,_Traits,_Ax>::_Myt &)' : cannot convert parameter 1 from 'std::vector<_Ty>' to 'const std::basic_string<_Elem,_Traits,_Ax>::_Myt &' with [ _Elem=char, _Traits=std::char_traits<char>, _Ax=std::allocator<char> ] and [ _Ty=int ] and [ _Elem=char, _Traits=std::char_traits<char>, _Ax=std::allocator<char> ] Reason: cannot convert from 'std::vector<_Ty>' to 'const std::basic_string<_Elem,_Traits,_Ax>::_Myt' with [ _Ty=int ] and [ _Elem=char, _Traits=std::char_traits<char>, _Ax=std::allocator<char> ] No constructor could take the source type, or constructor overload resolution was ambiguousAll that from less than 30 lines of code! I still haven't fixed that one.
|
|
|
Post by Tommy Huynh on Jun 11, 2005 1:25:12 GMT -5
xD
This guy Paolo got like 76 errors when he compiled his code.
|
|
|
Post by Bradley on Jun 11, 2005 12:43:35 GMT -5
I scrolled down to the last error message I got at the same time I got the above and it said error count exceeeds 100, compilation failed. I scrapped that project and started over. So far it works.
|
|