ddd
[Top][All Lists]
Advanced

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

DDD does not compile with GCC 3.2.2


From: abionnnn
Subject: DDD does not compile with GCC 3.2.2
Date: Sun, 29 Jun 2003 02:07:42 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

Hi I'm a huge fan of your program, but gcc-3.2.2 would not compile it. My gcc version is:

bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2

The place where the compiler croaks is here:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                 from strclass.h:412,
                 from strclass.C:41:
/usr/include/c++/3.2.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/abionnnn/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

For the record I'm using Slackware 9.0. Anyway thanks again for your hard work!

-abionnnn





reply via email to

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