2013年5月24日

C++的C4305和C4800的编译警告

摘要: 今天在改代码时发现了这两个warning,C4305 - 'identifier' : truncation from 'type1' to 'type2' 和C4800 - 'type' : forcing value to bool 'true' or 'false' (performance warning)。 大家看看下面的代码吧,一目了然。:) int a1 = 1; ... 阅读全文

posted @ 2013-05-24 11:05 fresky 阅读(494) 评论(0) 推荐(0) 编辑

导航