免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3271 | 回复: 0
打印 上一主题 下一主题

大家谁有sun studio 11, 帮忙编译一下下面这段代码(来自temple of sun) [复制链接]

论坛徽章:
0
1 [报告]
发表于 2007-04-17 08:45 |显示全部楼层
bash-3.00# uname -sr         \r\nSunOS 5.10                                                      \r\nbash-3.00# cc -o test2 test2.c                     \r\n\"test2.c\", line 2: warning: old-style declaration or incorrect type for: new\r\n\"test2.c\", line 2: warning: old-style declaration or incorrect type for: main\r\n\"test2.c\", line 2: warning: no explicit type given for parameter: a\r\n\"test2.c\", line 2: warning: no explicit type given for parameter: c\r\n\"test2.c\", line 3: warning: initializer does not fit or is out of range: -1\r\n\"test2.c\", line 8: warning: implicit function declaration: putchar\r\nbash-3.00# ./test2                                   \r\nSergei \'mr. RuOSUG\' Pikalev says: OM!\"\r\nbash-3.00#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP