免费注册 查看新帖 |

Chinaunix

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

求助,编译tinypy出现错误了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-02 23:37 |只看该作者 |倒序浏览
我在编译tinypy时,出现这个错误怎么解决?
谁有应用过的经验,指导下谢谢

E:\tiny>setup.py tinypy -cmingw32
# 105394 78592 13056
cd E:\tiny\tinypy
# tokenize.tpc is up to date
# parse.tpc is up to date
# encode.tpc is up to date
# py2bc.tpc is up to date
gcc -Wwrite-strings -Wall -O3 mymain.c -lmingw32 -lm -o ../build/tinypy
In file included from tp.c:5,
                 from mymain.c:1:
tp.h: In function `tp_cstr':
tp.h:314: warning: `return' with a value, in function returning void
tp.h:317: warning: `return' with a value, in function returning void
In file included from tp.c:6,
                 from mymain.c:1:
list.c: In function `_tp_list_set':
list.c:9: warning: `return' with a value, in function returning void
In file included from tp.c:7,
                 from mymain.c:1:
dict.c: In function `_tp_dict_hash_set':
dict.c:55: warning: `return' with a value, in function returning void
dict.c: In function `_tp_dict_del':
dict.c:120: warning: `return' with a value, in function returning void
In file included from tp.c:9,
                 from mymain.c:1:
string.c: In function `tp_printf':
string.c:51: warning: passing arg 3 of `vsprintf' discards qualifiers fro
er target type
string.c:51: error: too many arguments to function `vsprintf'
string.c:51: warning: null argument where non-null required (arg 2)
string.c:51: warning: too many arguments for format
In file included from tp.c:11,
                 from mymain.c:1:
gc.c: In function `tp_delete':
gc.c:87: warning: `return' with a value, in function returning void
In file included from tp.c:12,
                 from mymain.c:1:
ops.c: In function `tp_del':
ops.c:81: warning: `return' with a value, in function returning void
ops.c: In function `tp_set':
ops.c:255: warning: `return' with a value, in function returning void
In file included from tp.c:18,
                 from mymain.c:1:
vm.c: In function `tp_frame':
vm.c:83: warning: `return' with a value, in function returning void
exit_status 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP