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: ProC not able to resolve FILE *

Re: ProC not able to resolve FILE *

From: Ed Prochak <ed.prochak_at_magicinterface.com>
Date: 10 Aug 2005 10:37:43 -0700
Message-ID: <1123695463.814723.117940@g44g2000cwa.googlegroups.com>

jitendar.rawat_at_gmail.com wrote:
> HI,
> I am facing problem in compiling a .pc file that has a decleration
> FILE* start_output_file(const char *partner, const char *type, char
> *filename)
>
> error shown is
> PCC-S-02201, Encountered the symbol "*" when expecting one of the
> following:
>
> ; , = ( [
> The symbol ";" was substituted for "*" to continue.
>
> The error is shown at the "*" of FILE*. I have included the stdio.h and
> as well tried using the directive
> "using std::FILE"
> But none of them solved my problem.
> Please let me know what I can do for using FILE * in the proC file
>
> Thanks and regards
>
> Jitendar

have you looked at the intermediate file to see the actual code the compiler is complaining about? Are you certain there are NO syntax errors in the line BEFORE the FILE* line?? IOW, the error the compiler complains about might not be the root cause. Even something as simple as a mangled comment (no closing */ ) might be the problem.

Can you reduce the source file down to something short that can be posted?

HTH,
  Ed Received on Wed Aug 10 2005 - 12:37:43 CDT

Original text of this message

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