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 and aCC (ANSI C++)

pro*C and aCC (ANSI C++)

From: Venkatesha Prasad <venpra_at_india.hp.com>
Date: 1997/08/14
Message-ID: <33F32D78.4B58@india.hp.com>#1/1

I have a pro*C program written for ANSI C++. Some of the ANSI standard header files include files without any extension. For example, the file stddef.h includes 'cstddef'. Even though the the directory which has cstddef is included in sys_include flag for pro*C. Also, pro*C fail to recognize C++ type of comments on those lines which has pre processor directive. I have set the flag code=cpp. I have given the compiler option and the errors it gives below. Can some one tell me What' wrong?

Thanks,
Venkatesh Prasad

proc code=cpp mode=ansi sys_include=/opt/aCC/include/ \ sys_include=/opt/aCC/include/iostream \ sys_include=/opt/aCC/include/SC sys_include=/usr/include/ \  sqlcheck=full userid=cba/cba dbms=v6_char \  BATMain.pc iname=BATMain.pc oname=BATMain.cpp

Preprocessor error at line 14, column 10, file /opt/aCC/include/stddef.h:
#include <cstddef>

.........1
(1) PCC-S-02015, unable to open include file

Preprocessor error at line 14, column 10, file /opt/aCC/include/stdio.h:
#include <cstdio>

.........1
(1) PCC-S-02015, unable to open include file

Syntax error at line 14, column 20, file /opt/aCC/include/stdlib.h:
#include <cerrno> // indirectly included

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

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

   newline,
The symbol "newline," was substituted for "/" to continue. Received on Thu Aug 14 1997 - 00:00:00 CDT

Original text of this message

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