Re: Oracle Pro*C - PCC-S-02201 Error

From: Dave <David.W.Spencer_at_elcaro.moc>
Date: Thu, 31 Oct 2002 10:15:17 +0000
Message-ID: <3DC102B5.4080200_at_elcaro.moc>


Hey Bart, any chance me and Lisa could do a baritone sax duet some time?

Your error most likely means that Pro*C can't understand the definition (possibly doesn't know what "pascal" means). (This assumes that trace.h compiles ok, and that there isn't really an error present.) If the precompiler doesn't need to read the header, change

#include "trace.h"

to

#ifndef ORA_PROC
#include "trace.h"
#endif

ORA_PROC is defined by the precompiler so you can use it to skip over stuff the precompiler doesn't understand.

Dave.

Bart Simpson wrote:
> Hi everybody.
>
> I've just installed the Oracle 8.1.7 kernel and client for windows NT
> (2000) to compile Pro*C programms...
>
> Unfortunately, I can go on because of Pro*C Error # PCC-S-02201.
> This happens when pre-compiling my .pc file.
> I'm using Visual C++ to get C header files, and get an error while
> compiling "trace.h" file.
> Here is an extract of error log :
>
> -----
> ++: Release 8.1.7.0.0 - Production on Me Oct 30 16:54:05 2002
>
> (c) Copyright 2000 Oracle Corporation. All rights reserved.
>
> Valeurs des options système par défaut extraites de :
> C:\Ora817_Win\precomp\admin\pcscfg.cfg
>
> Erreur de syntaxe en ligne 75, colonne 24, fichier C:\Program
> Files\Microsoft Visual Studio\VC98\Include\trace.h:
> Erreur à la ligne 75, colonne 24 dans le fichier C:\Program
> Files\Microsoft Visual Studio\VC98\Include\trace.h
> extern ULONG pascal com_trcsem;
> ...
>
> ---
>
> Thanks to anyone who could help me.
> The Bartman.
>

-- 
Email address munged to avoid SPAM
Reverse the last two parts to reply directly
Received on Thu Oct 31 2002 - 11:15:17 CET

Original text of this message