bug-ddd
[Top][All Lists]
Advanced

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

Compiling with gcc 3.0


From: ecoffey
Subject: Compiling with gcc 3.0
Date: Mon, 6 Aug 2001 21:48:52 +1000
User-agent: Mutt/1.2.5i

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.



reply via email to

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