public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compatibility 2.95.2 -> 3.0.2
@ 2002-01-15  8:16 Hultman, Sten
  0 siblings, 0 replies; only message in thread
From: Hultman, Sten @ 2002-01-15  8:16 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'



Hi !

I am currently trying to port an application from HP-UX10.20 and gcc2.95.2
to HP-UX11.00 using gcc3.0.2.

As you can se in my enclosed listing a come across a large number of
compatibility problems. 

I suppose this could be cured by including the correct combination of
include files ?  Is there possibly any "compatibility flags" that have
to be set ? I have studied the documentation as well as all entries in
this forum without finding  the answer.
I would very much appreciate any hint about where to find the solution.
I can't be alone with these problems.

Regards
Sten Hultman



Compiling scheduler.cc
if [ ! -d objs ] ; then mkdir objs ; fi
/usr/local/bin/g++ -B /usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.0.2/
 -g -mgas -fPIC -fno-implicit-templates -Wall 
-I/usr/local/include/g++-v3 
-I/usr/local/include/g++-v3/backward 
-I/home/shultman/VIP/project//src/daedal/libj/include 
-I/home/shultman/VIP/project//src/daedal//socket++1.11 
-I/home/shultman/VIP/project//src/daedal/include 
-I/opt/subadm/include 
-DJNOTHREADS 
-D_CPP_BACKWARD_IOSTREAM_H '
-DJVERSION="0.99"' '
-DJBUILD="3"' 
-o objs/scheduler.o -c scheduler.cc

In file included from
/home/shultman/VIP/project/src/daedal/socket++1.11/sockinet.h:14,
                 from scheduler.h:6,
                 from scheduler.cc:9:
/home/shultman/VIP/project/src/daedal/socket++1.11/sockstream.h:266: parse 
   error before `.' token
/home/shultman/VIP/project/src/daedal/socket++1.11/sockstream.h: In
constructor 
   `isockstream::isockstream()':
/home/shultman/VIP/project/src/daedal/socket++1.11/sockstream.h:260: no 
   matching function for call to `std::basic_istream<char, 
   std::char_traits<char> >::basic_istream()'
/usr/local/include/g++-v3/bits/std_istream.h:209: candidates are: 
   std::basic_istream<_CharT, _Traits>::basic_istream(const 
   std::basic_istream<_CharT, _Traits>&) [with _CharT = char, _Traits = 
   std::char_traits<char>]
/usr/local/include/g++-v3/bits/std_istream.h:72:                 
   std::basic_istream<_CharT, 
   _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*) [with
_CharT 
   = char, _Traits = std::char_traits<char>]

****************************************************************************
**********

The first error (line 266) referes to the following class declaration:

class isockstream: public istream {
protected:
                        isockstream (): ios (0) {}
public:
                        isockstream(sockbuf* sb): ios (sb) {}
  virtual               ~isockstream () {}
		        
  sockbuf*		rdbuf () { return (sockbuf*)ios::rdbuf(); }
  sockbuf*		operbasic_ios.hator -> () { return rdbuf(); }
};


This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

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

only message in thread, other threads:[~2002-01-15 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15  8:16 Compatibility 2.95.2 -> 3.0.2 Hultman, Sten

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 read-only IMAP folder(s) and NNTP newsgroup(s).