Public bug reported:
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)
** Affects: boost (Ubuntu)
Importance: Undecided
Status: New
--
Depreciated or antiquated header hash_set used
https://bugs.launchpad.net/bugs/270873
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs