- 论坛徽章:
- 0
|
uname -a
HP_UX c8000 B.11.11 u 9000/785 3712702162 unlimited-user license
机器为:HP_UX c8000 B.11.11 u 9000/785 3712702162 unlimited-user license
操作系统自带的编译 cc 编译.c 代码报如下错误:
cc -c -Dversion_no="\""\" -Aa -D_HPUX_SOURCE ccheck.c
(Bundled) cc: warning 480 : The -A option is available only with the C/ANSI C product ; ignored.
(Bundled) cc: "ccheck.c" , line 56:error 1705:Function prototypes are an ANSI feature
(Bundled) cc: "ccheck.c" , line 57:error 1000: Unexpected symbol:"size_t".
(Bundled) cc: "ccheck.c" , line 57:error 1705:Function prototypes are an ANSI feature
(Bundled) cc: "ccheck.c" , line 57:error 1573: Type of "n" is undefined due to an illegal declaration.
........
各位大虾,看看这是什么问题? |
|