
18 Jan
2005
18 Jan
'05
12:25 p.m.
On 1/17/05 4:19 AM, "Martin" <adrianm@touchdown.se> wrote:
Sorry, wrong example. Should have been
cout << strlen("");
or
cout << vector<int>().size();
which both give me warnings with /Wp64
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
Looks like your standard library has a bug: std::basic_ostream doesn't have an "operator <<" overload for whatever extended type "std::size_t" maps to (or the compiler has a bug in not finding it). -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com