bug-ncurses
[Top][All Lists]
Advanced

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

using gcc-3.1


From: Russell Whitaker
Subject: using gcc-3.1
Date: Fri, 28 Jun 2002 21:32:12 -0700 (PDT)

Hi
On a spare drive, following Linux-From-Scratch with one major change:
using gcc-3.1 instead of 2.95.3. Everything fine until I got to ncurses
in chapt. 6:

In file included from /usr/include/g++-v3/backward/strstream:51,
                 from /usr/include/g++-v3/backward/strstream.h:33,
                 from ../c++/cursesw.h:17,
                 from ../c++/cursesw.cc:25:
/usr/include/g++-v3/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.
../c++/cursesw.cc: In member function `int NCursesWindow::scanw(const char*,
   ...)':
../c++/cursesw.cc:55: no matching function for call to `std::strstreambuf::
   vscan(const char*&, char*&)'
../c++/cursesw.cc: In member function `int NCursesWindow::scanw(int, int, const
   char*, ...)':
../c++/cursesw.cc:77: no matching function for call to `std::strstreambuf::
   vscan(const char*&, char*&)'
make[1]: *** [../obj_s/cursesw.o] Error 1
make: *** [all] Error 2

Let me know if this helps any.
  Russ
address@hidden




reply via email to

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