linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* XL C/C++ V7.0  Linux on POWER:Problem
@ 2005-12-28 14:56 Kriti Dutta
  0 siblings, 0 replies; only message in thread
From: Kriti Dutta @ 2005-12-28 14:56 UTC (permalink / raw)
  To: linuxppc-dev


 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-28 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-28 14:56 XL C/C++ V7.0 Linux on POWER:Problem Kriti Dutta

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).