Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C++ // comment problem
Check out the Pro*C compilation flag for this.
On Sat, 03 May 1997 13:45:08 +1000, Jonas Plumecocq <jp_at_internex.com.au> wrote:
>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
Carl Hoang choang_at_visi.com SofTech Systems, Inc. (612) 424-7886Received on Sun May 11 1997 - 00:00:00 CDT
![]() |
![]() |