From: "Kriti Dutta" <kriti.dutta@oracle.com>
To: <linuxppc-dev@ozlabs.org>
Subject: XL C/C++ V7.0 Linux on POWER:Problem
Date: Wed, 28 Dec 2005 20:26:49 +0530 [thread overview]
Message-ID: <GGEMIIODJPBLIOCGNLDJKEBJCAAA.kriti.dutta@oracle.com> (raw)
I encountered a compilation problem while building some C++ code that uses
the object space library (on Linux Power with
the gcc 3.3.3and xlC 7.0 compiler). This library defines its own STL's &
iostream implementation, and it seems that it
conflicts with the usage of the default standard iostream.The ERROR:
"/usr/include/g++/backward/iostream.h", line 35.1: 1540-0400 (S) "ostream"
has a conflicting declaration.
"/project/oracle/dc/src/dce/ol1/olstrm.h", line 83.7: 1540-0424 (I)
"ostream" is declared on line 83 of
"/project/oracle/dc/src/dce/ol1/olstrm.h".
"/project/oracle/dc/src/bin/ospace/Linux/ospace/std/iosfwd", line 24.10:
1540-0400 (S)
"class istream" has a conflicting declaration.
"/usr/include/g++/backward/iostream.h", line 36.1: 1540-0424 (I) "istream"
is declared on line 36 of
/usr/include/g++/backward/iostream.h".
"/project/oracle/dc/src/dce/ol1/ollogm.h", line 78.45: 1540-0063 (S)
The text "ostrstream" is unexpected.
"/project/oracle/dc/src/bin/ospace/Linux/ospace/osstd/list.h", line 572.7:
1540-0415 (S)
"template <class T, class Allocator> class list" is already declared with
default template arguments.
Are there any flags available to say the compiler that it should not use
the standard IO files.
N.B: The same code has been compiled with gcc-2.95 on Linux & xlC-6.0 on
AIX without any issues.
With regards
Kriti.
reply other threads:[~2005-12-28 16:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=GGEMIIODJPBLIOCGNLDJKEBJCAAA.kriti.dutta@oracle.com \
--to=kriti.dutta@oracle.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).