November 12th, 2003, 09:21 PM
aargh... i know, i know, about the int from main. This isn't actual code from my library, I was just trying to make the snippet small to show where the error is coming from. It's...
November 12th, 2003, 08:23 PM
Nope, using a Win32 Console with just this file:
std::multimap<size_t, int> somemap;
November 12th, 2003, 07:59 PM
Hi, thanks for the responses everyone. I have looked into it a little more, and your are right, alone it does compile ok. The error seemed to be coming, oddly enough, from an unrelated multimap...
November 12th, 2003, 06:03 AM
Odd.... it must be some kind of bug in the compiler. Using any other type (like an int or char) works fine, but unsigned int throws that warning. For now I've just used a pragma to disable it. I...
November 12th, 2003, 04:34 AM
Hi... I'm far from a master of STL, but I seem to be having some odd behavior with a vector<unsigned int> that I'm using. Basically, if I do this:
std::vector<unsigned int> vec;