Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1

xocde编译出现如下错误:

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1

原来是自己使用了相同名的 static全局变量。小心啊 小心,如果非必要还是定义成 成员变量好了。

 

posted @ 2012-08-29 21:46  fjut  Views(298)  Comments(0Edit  收藏  举报
------------------->>>>      听首歌放松下 O(∩_∩)O~~