[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RedHat 8.0
From: |
Paul Hewlett |
Subject: |
RedHat 8.0 |
Date: |
08 Nov 2002 10:01:44 +0200 |
Dear ALL
ddd does not compile on RedHat 8.0. the following occurs :
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/iss/issd/downloads/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1
The warnings about deprecated headers are numerous. The C++ code I
guess is old-fashioned and needs considerable work to bring up to
the
latest standards.
Is there any way of telling the C++ compiler to act dumb ?
Regards
Paul
--
Paul Hewlett E-mail <paulh@issi.co.za>
ISS International Ltd Web <http://www.issi.co.za>
P.O. Box 12063 tel +27 (21) 809-2090
DIE BOORD 7613 fax +27 (21) 809-2061
REPUBLIC OF SOUTH AFRICA cel +27 83 549 4801
____________________________________________________________________
This e-mail message contains confidential information which is
intended for the use of the person to whom it is addressed. If you
received it in error, please notify the sender and delete the
material from any computer. Any disclosure, re-transmission,
dissemination or any other use of this information is strictly
prohibited.
____________________________________________________________________
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RedHat 8.0,
Paul Hewlett <=