首页 > 其他 > 详细

warning: integer overflow in expression (take this as a lesson)

时间:2015-01-26 11:57:29      阅读:300      评论:0      收藏:0      [点我收藏+]
#define QUOTA (5*1024*1024*1024)
uint64_t ui64 = QUOTA;


gcc编译器会报出:warning: integer overflow in expression,你发现哪里出问题了?以此为戒!

warning: integer overflow in expression (take this as a lesson)

原文:http://blog.csdn.net/demiaowu/article/details/43149833

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!