[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation error (CYGWIN) report
From: |
Ngin Hui Goh |
Subject: |
Compilation error (CYGWIN) report |
Date: |
Wed, 18 Dec 2002 03:49:06 +0000 |
Hi there,
When compile DDD under Cygwin, I received the following Error Message.
Please advise.
Thanks.
Compiler version information:
=========================================
$ c++ --version
c++ (GCC) 3.2 20020927 (prerelease)
$ gcc --version
gcc (GCC) 3.2 20020927 (prerelease)
$ g++ --version
g++ (GCC) 3.2 20020927 (prerelease)
Error message:
==========================================
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/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 he
ader. 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 warnin
g 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/Administrator/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compilation error (CYGWIN) report,
Ngin Hui Goh <=