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 and C++?, Help me

Re: Pro*C and C++?, Help me

From: Dietmar Leibecke <dleibeck_at_debis.com.--->
Date: 1997/10/01
Message-ID: <34322144.524B@debis.com.--->#1/1

Homayoun wrote:
>
> Hi Everybody,
>
> I have a question, Please help me.
> I know I should be able to write a program in GNU(C++) and compile it
> with ProC(Oracle).
> But I have a problem. When I compile a C++ program with ProC I get
> following error:
>
> Proc*C/C++: Release 2.2.2.0.0 - Production on Tue Sep 30 10:30:41 1997
>
> Syntax error at line 33, column 8, file
> /home2/gnu/lib/g++-include/iostream.h:
> extern "C++" {
> (1) PCC-S-02201, Encountered the symbol ""C++"" when expecting one of
> the follo:
> ; ( * etc.
> (1) PCC-F-02102, Fatal error while doing C preprocessing
>
> Would somebody please help me.
>
> Thank you,
>
> Homi
>
> Please write direct to: homayoun_at_interlog.com

Homi,

use the command line option code=CPP for the Pro*C preprocessor. This should help you.

HTH,

-- 
Dietmar Leibecke
----------------
Received on Wed Oct 01 1997 - 00:00:00 CDT

Original text of this message

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