warning when compiling with gcc 4.3.1

Bug #256232 reported by fredrik on 2008-08-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Low
Razzloss

Bug Description

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

Related branches

Steven Sheehy (steven-sheehy) wrote :

Can you post more of the error so we can see which actual file it is complaining about?

Changed in linuxdcpp:
importance: Undecided → Low
status: New → Incomplete
Razzloss (razzloss) wrote :

g++ -o build/client/Util.o -c -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -g -ggdb -D_DEBUG -Wall -D_DATADIR='"/usr/local/share"' -pthread client/Util.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from client/stdinc.h:110,
                 from client/Util.cpp:19:
/usr/include/c++/4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

I think all warnings come from hash_map, which will be replaced in 0.7xx.

Changed in linuxdcpp:
status: Incomplete → Confirmed
Changed in linuxdcpp:
assignee: nobody → razzloss
status: Confirmed → In Progress
Vitaliy Okulov (vitaliy-okulov) wrote :

Same error:

/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
g++ -o build/client/ClientManager.o -c -g -O2 -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -fomit-frame-pointer -DNDEBUG -D_DATADIR='"/usr/share"' -pthread -g -O2 client/ClientManager.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from client/stdinc.h:110,
                 from client/ClientManager.cpp:19:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
g++ -o build/client/ConnectionManager.o -c -g -O2 -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -fomit-frame-pointer -DNDEBUG -D_DATADIR='"/usr/share"' -pthread -g -O2 client/ConnectionManager.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from client/stdinc.h:110,
                 from client/ConnectionManager.cpp:19:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

Changed in linuxdcpp:
status: In Progress → Fix Committed
Changed in linuxdcpp:
status: Fix Committed → Fix Released
Razzloss (razzloss) on 2009-02-23
Changed in linuxdcpp:
status: Fix Released → Fix Committed
Changed in linuxdcpp:
milestone: none → 1.1.0
tags: added: compilation core
tags: added: build
removed: compilation
Changed in linuxdcpp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers