
GCC
文章平均质量分 88
delphiwcdj
用代码改变生活
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(GCC) Address warnings——Addresses always evaluate as true
2014-02-27 wcdj Address warnings The GNU compiler collection (GCC) 4.6.3 warns about suspicious uses of memory addresses. The memoryaddress [-Waddress] warning is enabledby specifying the -Wa原创 2014-02-27 10:42:52 · 6131 阅读 · 0 评论 -
(GCC) Warning: 'typedef' was ignored in this declaration
2014-02-14 wcdj Question: Warning: 'typedef' was ignored in this declaration. Answers: Delete typedef. It's the C way of declaring structs, C++ does it automatically for you. stackove原创 2014-02-14 14:12:44 · 13344 阅读 · 0 评论 -
(GCC) How can I hide "defined but not used" warnings in GCC?
2014-02-14 wcdj May happy ending of love belong to every developer. From: http://play.golang.org/p/xl1P6jYtIZ Question: How can I hide "defined but not used" warnings in GCC? Answ原创 2014-02-14 13:59:03 · 3668 阅读 · 0 评论 -
gcc 3.3.4中使用引用时存在的问题
2011-11-1 wcdj 问题: rvalue类型表达式可以有引用吗? const int &iref = 100; printf("%d", iref);// ok, 100rvalue类型表达式可以有non-const的引用吗? 标准参考: C++ 03 3.10 Lvalues and rvalues P.56 1, Every expression is eit原创 2011-11-01 13:23:09 · 1268 阅读 · 0 评论 -
gcc的使用简介与命令行参数说明
2011-06-19 wcdj 参考:《GNU gcc嵌入式系统开发 作者:董文军》(一) gcc的基本用法(二) 警告提示功能选项(三) 库操作选项(四) 调试选项(五) 交叉编译选项(一) gcc的基本用法使用gcc编译器时,必须给出一系列必要的调用参数和文件名称。不同参数的先后顺序对执行结果没有影响,只有在使用同类参数时的先后顺序才原创 2011-06-19 20:29:00 · 19509 阅读 · 5 评论