bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling with gcc 3.0


From: Arnaud Desitter
Subject: Re: Compiling with gcc 3.0
Date: Mon, 6 Aug 2001 15:22:02 +0100 (BST)

Hi,

Some fixes have been posted in this list. Please refer to the archive:
http://mail.gnu.org/pipermail/bug-ddd/
http://mail.gnu.org/pipermail/ddd/

Alternatively, the ddd CVS repository contains them.
(see http://sourceforge.net/projects/ddd)

Cheers,
Arnaud

> 
> Hi, I'm trying to compile DDD 3.3.1 with GCC 3.0 and have run across a couple 
> of
> problems.  The first was simple to fix, a line in
>     istream& operator>>(istream& s, string& x)
> from strclass.C (around line 1443) had to be changed from:
>     s.clear(new_state);
> to:
>     s.clear((std::ios_base::iostate)new_state);
> though I suspect that unless there is good reason not to, new_state should be 
> of
> type std::ios_base::iostate rather than int.
> 
> The next problem I have not been able to solve.  When compiling logplayer.C I
> get the following error:
>     c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -W 
> -Wall
>     -trigraphs  -c logplayer.C
>     In file included from logplayer.C:46:
>     /usr/include/g++/backward/fstream.h:38: using directive `streampos'
>         introduced ambiguous type `streampos'
> This is not solved by following the GCC 3.0 procedure in the PROBLEMS file.
> 
> I have no idea how to fix this, but I will be happy to supply any additional
> information you require.
> 
> Regards, Ed.
> 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]