急!!各位熟悉Unix下Oracle proc 编程的兄弟,请帮忙!谢谢先!
我在TurboLinux8.0,用proc开发应用,数据库是Oracle9.2。但在于编译过程中,编译器大量提示:
Syntax error at line 55, column 42, file /usr/include/string.h:
Error at line 55, column 42 in file /usr/include/string.h
extern void *memset (void *__s, int __c, size_t __n) __THROW;
.........................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
编译oracle带的例子也会出现相似的问题。
请教各位,我应该如何改正,是不是系统的问题?