Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro C Makefile

Re: Pro C Makefile

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Mon, 13 Sep 1999 07:29:06 -0400
Message-ID: <37DCE002.2AEB5EF7@Unforgettable.com>


kasthuri_at_viisage.com wrote:

> Hi,
>
> I get the following error message when i try to make a Pro C
> Application. The environment variables are set properly. The
> environment is Dec Alpha 4.0D with oracle 7.2.3
>
> ******************
> System default option values taken from: /data6/oracle/proc/pmscfg.h
>
> Parser error at line 356, column 25, file /usr/include/sys/types.h:
> long _Pfield(valid);
> ......................................1
> (1) PCC-F-02209, Macro invocation has incorrect number of arguments
>
> Parser error at line 357, column 25, file /usr/include/sys/types.h:
> char* _Pfield(name);
> ......................................1
> (1) PCC-F-02209, Macro invocation has incorrect number of arguments
>
> Syntax error at line 356, column 25, file /usr/include/sys/types.h:
> long _Pfield(valid);
> ......................................1
> (1) PCC-S-02201, Encountered the symbol ";" when expecting one of the
> following:
>
> : ( * const, double, float, int, long, signed, unsigned,
> volatile, an identifier,
>
> Syntax error at line 0, column 0, file extract.pc:
>
> (1) PCC-S-02201, Encountered the symbol "<eof>" when expecting one of
> the following:
>
> ; : an identifier, end-exec, random_terminal
>
> (1) PCC-F-02102, Fatal error while doing C preprocessing
>
> *** Exit 1
> Stop.
> **********************************
>
> /usr/include/types.h contains the data structure with the above field.
>
> Can someone please let me know what should be done to set this right?

Most compilers have documentatin which either directly or indirectly state that variables beginning with '_' are reserved for the compiler. Try renaming those Pfield variables.

Ken




















Received on Mon Sep 13 1999 - 06:29:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US