kill unsigned / signed comparison error

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-04-28T21:03:46Z Indexed on 2010/04/28 21:07 UTC
Read the original article Hit count: 258

Filed under:
|
|

In general, I want warnings of unsigned vs signed.

However, in this particular case, I want it supressed;

std::vector<Blah> blahs;

for(int i = 0; i < blahs.size(); ++i) { ...

I want to kill this comparison.

Thanks!

(using g++)

© Stack Overflow or respective owner

Related posts about g++

Related posts about supress