GCC 3.1 and Ncurses compile problems

DJ Lucas dj_me at swbell.net
Mon May 20 16:36:42 PDT 2002


Kewl, thank you VERY much..wasn't aware of the patch.
On a side note..not that it'll matter in about 4 hours anyway..
..but anone have any idea how to make outlook on windows
break at 72 chars?

Thanks again

D.J. Lucas

----- Original Message -----
From: "Dieter Schmitz" <dieter.schmitz at uni.de>
To: "lfs-dev" <lfs-dev at linuxfromscratch.org>
Cc: <dj_me at swbell.net>
Sent: Monday, May 20, 2002 17:44
Subject: Re: GCC 3.1 and Ncurses compile problems


>
> Hello,
>
> >
> > 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[1]: Leaving directory `/usr/src/lfs/ncurses-5.2/c++'
> > make: *** [all] Error 2
>
> You must use the ncurses patch! You can get the patch at
> http://www.lfsforum.org/download/ncurses-5.2-gcc-3.patch.bz2
>
> This patch is for gcc-3.0.4 but it should also work with gcc-3.1
>
> if this patch didn't work try this newer ncurses patch at
> http://www.lfsforum.de/download/patch-5.2-20020427.sh.bz2
>
> Please configure your Mailclient to breaking up  after 72 characters
>
> Gruß
> Dieter
> --
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-dev' in the subject header of the message
>

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list