warning when compiling with gcc 4.3.1

Bug #256232 reported by fredrik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Fix Released
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.

Tags: build core
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.