Any Pro*C/C++ users out there?

From: Ramon F Herrera <ramon_at_conexus.net>
Date: Sat, 5 Sep 2009 21:53:08 -0700 (PDT)
Message-ID: <a623f68a-3dd4-4a9c-9e7f-84b80abad2d2_at_o9g2000yqj.googlegroups.com>


I have been using Pro*C/C++ for a while, but so far all my programs have been written in C. I just started trying to run some C++ programs, the ones that come with the precompiler: cppdemo[1-3].pc

My problem is that I would like to modify the sys_include variable and I can't

Every time I compile, there is a message:

System default option values taken from: /home/oracle/product/10.2.0/ precomp/admin/pcscfg.cfg

So, I figure that I need to modify that file. Since my Linux is RedHat, I remove the entry that mentions SuSe. I updated the list of C+ + directories.

Even after those changes the precompiler seems to keep on searching include files in the wrong/old places.

TIA,
-Ramon

ps: The only demo that builds fine is cppdemo2.pc, because it doesn't have an #include <iostream> statement.


Those include directories down here should NOT be there. I removed them from pcscfg.cfg

proc code=cpp 'sys_include=(/home/oracle/product/10.2.0/precomp/ public,/usr/include,/usr/lib/gcc-lib/i486-suse-lin ux/2.95.3/include,/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include,/ usr/lib/gcc-lib/i386-redhat-linux7/2.96/includ e)' iname=cppdemo3 Received on Sat Sep 05 2009 - 23:53:08 CDT

Original text of this message