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

Re: gcc - kompatybilnosc



W liÅ?cie z czw, 22-04-2004, godz. 12:29, debian7 pisze: 
> co kompilujesz i jak wyglada ten fragment, jaki nagÅ?ówek doÅ?Ä?czasz?

OK. Kompiluje DORIS (Delft Object Oriented Radar Interferometric
Software) - wasko specjalistyczna rzecz.
Jaki naglowek? Tak to wyglada. Praktycznie w przypadku kazdego programu:

g++ -O -D__X86PROCESSOR__   -c -o utilities.o utilities.cc
In file included from /usr/include/c++/3.3/backward/strstream:51,
                 from bk_messages.h:46,
                 from constants.h:54,
                 from matrixbk.h:59,
                 from utilities.cc:43:
/usr/include/c++/3.3/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.
g++ -O -D__X86PROCESSOR__   -c -o ioroutines.o ioroutines.cc


> 
> swojÄ? drogÄ? - próbowaÅ?eÅ? opcji "-Wno-deprecated" ?

Nie bardzo wiem gdzie ja mam wlaczyc - do komendy make czy wpisac do
makefile-a


Dzieki

Z.
> 
> pozdrawiam
> Kuba
> 
> Zbigniew Perski wrote:
> 
> >Czesc, 
> >u mnie mam cos takiego:
> >gcc version 3.3.3 20040125 (prerelease) (Debian)
> >
> >kompiluje program, ktory wypisuje:
> >
> >/usr/include/c++/3.3/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.
> >
> >Niby tylko warning a program nie dziala jak powinien bo prawdopodobnie
> >byl pisany pod starsze gcc-2.95.1.
> >
> >Co mam zrobic zeby to dzialalo?
> >Czy mozna teraz zainstalowac starsze gcc w miejsce nowego?
> >Czy sa jakies inne sposoby?
> >
> >Pomozcie. Googluje od dwoch dni bez skutku ale tak to jest jak sie
> >czlowiek slabo zna na kompilatorach.
> >
> >Pozdrawiam
> >
> >Zbyszek
> >
> >
> >
> >  
> >
> 



Reply to: