Deprecated or antiquated header hash_set used

Bug #270873 reported by Bart Kroon
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
boost (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrading to Intrepid (development branch), with boost version 1.34.1-11ubuntu1, compiling this one-liner:

#include <boost/graph/adjacency_list.hpp>

Gives this output:

# g++ -Wall -Werror -pedantic test.cpp
In file included from /usr/include/c++/4.3/ext/hash_set:64,
                 from /usr/include/boost/graph/adjacency_list.hpp:22,
                 from test2.cpp:1:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: error: #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.

Guess Boost Graph has to be patched to remove support for hash_set.

P.S: Maybe these kind of tests can be automated in the future: for each header file in /usr/include, try to compile such a one-liner. Saves a lot of troubles (my 2ct)

Revision history for this message
Herbie (ubuntubugs-50-progirep) wrote :

This problem still exists in Jaunty.

Revision history for this message
JackSchnippes (jackschnippes) wrote :

Any suggestions how one can fix this?
Will a manual upgrade to 1.41 help?

Thx for any tips.

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.