[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DDD 3.3.1 Compile Error using GCC 3.2.2
From: |
Emil Block |
Subject: |
DDD 3.3.1 Compile Error using GCC 3.2.2 |
Date: |
Thu, 20 Feb 2003 18:07:29 -0500 |
I need some help with the error which occurs after one of the many
warnings concerning deprecated or
antiquated header. Using Solaris 2.8 on a Sun Blade 150.
make[1]: Entering directory `/sodsim/local/ddd-3.3.1/ddd'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DNDEBUG -O2 -g -W -Wall
-trigraphs -c strclass.C
In file included from
/usr/local/include/c++/3.2.2/backward/iostream.h:31,
from strclass.h:412,
from strclass.C:41:
/usr/local/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 `/sodsim/local/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1
Thanks
Blime
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DDD 3.3.1 Compile Error using GCC 3.2.2,
Emil Block <=