<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[如何让c编译器是c99标准: gcc mallocPointerTest.c --std=c99,错误：只允许在 C99 模式下使用‘for’循环初始化声明 用gcc编译出现，？？？在 C99 模式之外使用 ‘for’ 循环初始化声明。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Mon, 26 May 2014 13:02:58 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	如何让c编译器是c99标准:&nbsp;&nbsp; gcc mallocPointerTest.c --std=c99<br/><br/>错误：只允许在 C99 模式下使用‘for’循环初始化声明 用gcc编译出现，？？？&nbsp;&nbsp;<br/>mallocPointerTest.c:5: 错误：只允许在 C99 模式下使用‘for’循环初始化声明<br/>mallocPointerTest.c:5: 附注：使用 -std=c99 或 -std=gnu99 来编译您的代码<br/>c语言有很多标准 <br/>以前的标准不允许for(int i=0;;)这中格式<br/>而c99的模式允许了<br/>你的c编译器不是c99标准<br/>for(int i=0;;)<br/>所有你应该这样改<br/>int i;<br/>for(i=0;;);<br/>__________________________________________________________<br/>c语言有很多标准 <br/>以前的标准不允许for(int i=0;;)这中格式<br/>而c99的模式允许了<br/>你的c编译器不是c99标准<br/>for(int i=0;;)<br/>所有你应该这样改<br/>int i;<br/>for(i=0;;);<br/>追问<br/>所有你应该这样改<br/>int i;<br/>for(i=0;;);<br/>为什么，&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>如何让c编译器是c99标准:<br/>&nbsp;&nbsp; gcc mallocPointerTest.c --std=c99<br/>来自：http://bbs.chinaunix.net/thread-803643-1-1.html<br/>http://blog.163.com/zhaoxiaosen_2008@126/blog/static/105797239201344517767/
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 如何让c编译器是c99标准: gcc mallocPointerTest.c --std=c99,错误：只允许在 C99 模式下使用‘for’循环初始化声明 用gcc编译出现，？？？在 C99 模式之外使用 ‘for’ 循环初始化声明。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>