bug-ddd
[Top][All Lists]
Advanced

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

Compile error with GCC v3.2.1


From: Joseph Salvatore Testa
Subject: Compile error with GCC v3.2.1
Date: Sat, 24 May 2003 17:18:39 -0400 (EDT)

Hi--

    I'm using GCC v3.2.1, compiled directly from source.  After doing a
simple './configure && make', I get this:

[...]
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include
-DNDEBUG -O2 -g -W -Wall -trigraphs  -c sigName.C
In file included from /usr/include/c++/3.2.1/backward/iostream.h:31,
                 from strclass.h:412,
                 from sigName.C:43:
/usr/include/c++/3.2.1/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 sigName.C:43:
strclass.h: In member function `string&
string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
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.1/backward/iostream.h:31,
                 from strclass.h:412,
                 from strclass.C:41:
/usr/include/c++/3.2.1/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/jdog/sources/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1

    Let me know if there's any more information you need.  Thanks!

    - Joe

__________________________________________
"Those who desire to give up Freedom
in order to gain Security, will not have,
nor do they deserve, either one."

                       -- Thomas Jefferson






reply via email to

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