|
|
发表于 2009-2-2 08:59:17
|
显示全部楼层
同样画上去之后,编译出现以下警告:
readwrite.c: In function ‘ftp_write_str’:
readwrite.c:40: warning: passing argument 1 of ‘str_iconv_write’ discards qualifiers from pointer target type
readwrite.c: In function ‘ftp_getline’:
readwrite.c:152: warning: passing argument 1 of ‘str_netfd_alloc’ discards qualifiers from pointer target type sysutil.c: In function ‘vsf_sysutil_iconv_init_read’:
sysutil.c:2774: warning: passing argument 1 of ‘vsf_sysutil_free’ discards qualifiers from pointer target type
sysutil.c:2776: warning: passing argument 1 of ‘vsf_sysutil_free’ discards qualifiers from pointer target type
sysutil.c: In function ‘vsf_sysutil_iconv_init_write’:
sysutil.c:2798: warning: passing argument 1 of ‘vsf_sysutil_free’ discards qualifiers from pointer target type
sysutil.c:2800: warning: passing argument 1 of ‘vsf_sysutil_free’ discards qualifiers from pointer target type
运行时提示 Segmentation fault 就 Game over 了
不太明白,不好意思,对C一点都不会,能否给点提示怎么解决这种问题 |
|