tvision.spec

Jacek Nowosielski j12365715 w wp.pl
Pon, 1 Wrz 2003, 21:19:08 CEST


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?



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