bug-ddd
[Top][All Lists]
Advanced

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

Problem when compiling Ddd


From: Keith Slavin
Subject: Problem when compiling Ddd
Date: Sat, 07 Jun 2003 23:08:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

My machine:

uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386 GNU/Linux

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)


When compiling Ddd I get the warnings similar to those below, but also I get an error finally:

c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2
-g -W -Wall -trigraphs  -c strclass.C
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                from strclass.h:412,
                from strclass.C:41:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from strclass.C:41:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
strclass.C: In function `std::istream& operator>>(std::istream&, string&)':
strclass.C:1443: invalid conversion from `int' to `std::_Ios_Iostate'
strclass.C:1443:   initializing argument 1 of `void std::basic_ios<_CharT,
  _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits =
  std::char_traits<char>]'
make[1]: *** [strclass.o] Error 1
make[1]: Leaving directory `/home/kslavin/src/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1






reply via email to

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