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

From: Ramon F Herrera <ramon_at_conexus.net>
Date: Sun, 6 Sep 2009 06:28:33 -0700 (PDT)
Message-ID: <cbe85281-d9d8-41f4-9711-257276f570c3_at_c37g2000yqi.googlegroups.com>



On Sep 6, 5:56 am, Maxim Demenko <mdeme..._at_gmail.com> wrote:

> Besides that, there is a Metalink Note 108440.1
> (the note is about precompiler not able to find
> new style header files without .h extensions on Sun,
> but may apply to Linux as well), which essentially
> suggests following workarounds:
> 1) create symbolic links in your local directory
> to required headers
> (e.g. ln -s /usr/include/c++/4.1.1/iostream iostream.h)

I am not sure whether my problem is the above. My system contains both the "new" style iostream and another header iostream.h

I believe one of the reasons I am having such a hard time trying to compile the provided sample programs is that I have 3 directories under /usr/include/c++:

drwxr-xr-x  6 root root 4096 Feb 12  2007 3.2.3
drwxr-xr-x  6 root root 4096 Feb 12  2007 3.3.4
drwxr-xr-x  7 root root 4096 May 17  2007 3.4.3
lrwxrwxrwx 1 root root 5 May 17 2007 3.4.6 -> 3.4.3

and I am not sure which is (if any) the correct one. In my first attempt none of the 3 sys_include paths point to any of the above directories worked.

I am getting actual errors (could not find included bits/xyz.h) and not warnings.

-Ramon Received on Sun Sep 06 2009 - 08:28:33 CDT

Original text of this message