Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Pro*C fail
Hello,
I am trying to get Pro*C preprocessor working, however when I run it I get loads of errors...
I am trying to run proc un the following sample program: http://www.orafaq.org/scripts/proc/select.txt
I am running like this:
/usr/local/oracle/bin/proc iname=test.pc
include=/usr/lib/gcc-lib/i386-redhat-linux/3.2/include
And I get a lot of erros like this:
<snip>
Syntax error at line 324, column 44, file /usr/include/stdio.h:
Error at line 324, column 44 in file /usr/include/stdio.h
__const char *__restrict __format, _G_va_list__arg)
...........................................1PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIExtProcContext, 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, exec sql, exec sql begin, exec sql type,
exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" to continue.
</snip>
Any pointers would be appriciated, TIA..
/mich
-- Regards, Michael L. Hostbaek -= So long, and thanks for all the fish.. =-Received on Tue May 27 2003 - 08:46:32 CDT
![]() |
![]() |