JavaShuo
栏目
标签
编译警告 warning: extra tokens at end of #undef 解决
时间 2020-07-25
标签
编译
警告
warning
extra
tokens
end
undef
解决
繁體版
原文
原文链接
#define MAX(a,b) ((a)>(b)?(a):(b)) #undef MAX(a,b) #define MAX(a,b) ((a)<(b)?(a):(b))spa 这样写编译时就会出现如标题所示的警告编译器 把第二句改为: #undef MAX 则不会出现 由于按照C标准的说法,撤销宏定义的语法为#undef name ,其中name是宏名,仅仅是宏名编译 编译器:gcc 4.6.
>>阅读原文<<
相关文章
1.
消灭编译警告(Warning)
2.
missing closing parenthesis at end of #pragma
3.
maven编译警告解决之-Xlint:unchecked
4.
AD原理图编译后出现“Extra Pin…in Normal of part ”警告的解决方法
5.
simulink编译警告的解决办法
6.
mac上sed 命令出错extra characters at the end of n command
7.
警告 warning: NUL charactor seen; rest of line ignored
8.
Warning: flattenChildren(...)警告解决方案
9.
keil Warning #440警告解决办法
10.
STC51 警告 warning
更多相关文章...
•
Eclipse 编译项目
-
Eclipse 教程
•
SVN 解决冲突
-
SVN 教程
•
Scala 中文乱码解决
•
常用的分布式事务解决方案
相关标签/搜索
warning
extra
tokens
undef
警告
告警
end
编译
译解
解译
SQLite教程
Spring教程
NoSQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
正确理解商业智能 BI 的价值所在
2.
解决梯度消失梯度爆炸强力推荐的一个算法-----LSTM(长短时记忆神经网络)
3.
解决梯度消失梯度爆炸强力推荐的一个算法-----GRU(门控循环神经⽹络)
4.
HDU4565
5.
算概率投硬币
6.
密码算法特性
7.
DICOMRT-DiTools:clouddicom源码解析(1)
8.
HDU-6128
9.
计算机网络知识点详解(持续更新...)
10.
hods2896(AC自动机)
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
消灭编译警告(Warning)
2.
missing closing parenthesis at end of #pragma
3.
maven编译警告解决之-Xlint:unchecked
4.
AD原理图编译后出现“Extra Pin…in Normal of part ”警告的解决方法
5.
simulink编译警告的解决办法
6.
mac上sed 命令出错extra characters at the end of n command
7.
警告 warning: NUL charactor seen; rest of line ignored
8.
Warning: flattenChildren(...)警告解决方案
9.
keil Warning #440警告解决办法
10.
STC51 警告 warning
>>更多相关文章<<