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

Re: gcc - kompatybilnosc



co kompilujesz i jak wyglada ten fragment, jaki nagłówek dołączasz?

swoją drogą - próbowałeś opcji "-Wno-deprecated" ?

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: