会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
OracleLoyal
博客园
首页
新随笔
联系
订阅
管理
2016年11月1日
initializer element is not constant 问题
摘要: 问题描述: 下面的代码保存成m.c,用g++ m.c -o test编译没问题; 保存成m.cpp,用g++ m.cpp -o test编译也没问题; 但是,保存成m.c,用gcc m.c -o test报错:m.c:2: error: initializer element is not cons
阅读全文
posted @ 2016-11-01 16:27 OracleLoyal
阅读(1700)
评论(0)
推荐(0)
编辑
公告