gcc的-D和-U参数:宏的设置与取消(转)[@more@]这两天做LFS注意到了gcc的-D参数:在gcc命令中定义宏,比如我有如下的代码:
CODE:
/* hello.c */
#include #ifdef YES char* str = "Yes, this is a macro."; #else char* str = "No, there is no macro."; #endif int main() { printf("%s ", str); return 0; } 来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10617542/viewspace-959917/,如需转载,请注明出处,否则将追究法律责任。
上一篇:
linux磁盘结构及分区(转)
下一篇:
怎样为linux内核打补丁(转)
请登录后发表评论
登录
全部评论
<%=items[i].createtime%>
<%=items[i].content%> <%if(items[i].items.items.length) { %>
<%for(var j=0;j
<%}%> <%}%>
<%=items[i].items.items[j].createtime%>
<%=items[i].items.items[j].username%> 回复 <%=items[i].items.items[j].tousername%>: <%=items[i].items.items[j].content%>
还有<%=items[i].items.total-5%>条评论
) data-count=1 data-flag=true>点击查看
<%}%>
|
转载于:http://blog.itpub.net/10617542/viewspace-959917/