tvision.spec

Jakub Bogusz qboosh w pld-linux.org
Nie, 7 Wrz 2003, 01:57:09 CEST


On Mon, Sep 01, 2003 at 09:19:08PM +0200, Jacek Nowosielski wrote:
> Przy kompilacji cos takiego:
> 
> athlon-pld-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -I/usr/include/
> ncurses -fno-exceptions -fno-rtti -fno-implicit-templates -c -o TApplication.
> o `test -f TApplication.cc || echo './'`TApplication.cc
> In file included from tvision/tv.h:635,
>                  from TApplication.cc:20:
> tvision/tobjstrm.h:289: error: friend declaration requires class-key, i.e.
>    `friend struct opstream'
> tvision/tobjstrm.h:344: error: friend declaration requires class-key, i.e.
>    `friend class TPWrittenObjects'
> tvision/tobjstrm.h:378: error: friend declaration requires class-key, i.e.
>    `friend struct ipstream'
> In file included from /usr/include/c++/3.3.1/backward/iostream.h:31,
>                  from tvision/tobjstrm.h:416,
>                  from tvision/tv.h:635,
>                  from TApplication.cc:20:
> /usr/include/c++/3.3.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 tvision/tobjstrm.h:416,
>                  from tvision/tv.h:635,
>                  from TApplication.cc:20:
> /usr/include/c++/3.3.1/backward/iostream.h:38: error: `streambuf' is already
>    declared in this scope
> ... itd
> 
> Ktos mi powie jak to naprawic?

Auuuuuuuuuuuu... droga przez mękę.
To jest stara wersja, najwyraźniej zupełnie nie gotowa na STL z gcc 3.x.
librhtv.spec zawiera coś bardziej strawnego dla aktualnych wersji gcc
(3.2 się kompilowało, 3.3 nie sprawdzałem).


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



Więcej informacji o liście dyskusyjnej pld-devel-pl