一项正在转换成使用Oracle Pro*C的现有方案,在预产期造成问题。 它读到档案系统的一份档案,并加以分类,并写到几个数据库表。
有一种方法,定义如下:
void parse_line(inline)
char *inline;
{
// do stuff
}
在我试图这样做的时候,我看到:
Syntax error at line 162, column 13, file myfile.cp:
Error at line 162, column 13 in file myfile.cp
char *inline;
............1
PCC-S-02201, Encountered the symbol ";" when expecting one of the following:
( * const, volatile, an identifier,
只要我能说的话,这项职能声明是完全正确的,因此,我不得不假定,由于其他地方的问题,这一先天错误正在出现。
Short of pasting the entire program in here, does anybody have any suggestions as to a few good places I could start looking?
我的法西斯主义认为:
sys_include=($ORACLE_HOME/precomp/public,/usr/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include,/usr/lib64/gcc/x86_64-suse-linux/4.1.2/include,/usr/lib64/gcc/x86_64-suse-linux/4.3/include)
ltype=short
define=__x86_64__