- 论坛徽章:
- 0
|
我在编译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 |
|