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 -> Pro*C++ // comment problem

Pro*C++ // comment problem

From: Jonas Plumecocq <jp_at_internex.com.au>
Date: 1997/05/03
Message-ID: <336AB4C4.7C65@internex.com.au>#1/1

When preprocesssing Pro*C++ files, the following error is generated when a C++ style comment is placed next to a pre-processor #include statement.

/ora/product/v7322/bin/proc iname=gak.pc code=cpp define=c_plusplus

Pro*C/C++: Release 2.2.2.0.0 - Production on Fri May 2 14:19:06 1997

Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.

System default option values taken from:
/ora/product/v7322/precomp/admin/pcscfg.h

Syntax error at line 1, column 19, file gak.pc: #include <time.h> // booo

..................1

(1) PCC-S-02014, Encountered the symbol "/" when expecting one of the following:

   newline,

(1) PCC-F-02102, Fatal error while doing C preprocessing

I have even tried defining Pre-Processor macros such as __cplusplus and c_plusplus, to no avail.

There doesn't seem to be a verbose option for proc either. Does Pro*C use its own built-in preprocessor rather than invoking
/usr/lib/cpp.ansi?

Any help would be appreciated! Please cc a mail copy. Thanks!

-- 
Jonas Plumecocq
jp_at_internex.com.au

-- 
Jonas Plumecocq
jp_at_internex.com.au
Received on Sat May 03 1997 - 00:00:00 CDT

Original text of this message

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