Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Pro*C++ // comment problem
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
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.auReceived on Sat May 03 1997 - 00:00:00 CDT