#1630 closed Bugs (fixed)
gcc-4.3: adjacency_list.hpp includes deprecated header
Reported by: | Owned by: | Douglas Gregor | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.41.0 | Severity: | Problem |
Keywords: | Cc: |
Description
the gcc implementation of adjacency_list.hpp seems to include ext/hash_set, which is deprecated in gcc-4.3 and moved to backward/hash_set
Change History (6)
comment:1 by , 14 years ago
Milestone: | Boost 1.36.0 → Boost 1.37.0 |
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
Milestone: | Boost 1.37.0 → Boost 1.36.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This was fixed in Boost 1.36.0. We now use backward/hash_set and backward/hash_map on GCC 4.3.
comment:3 by , 13 years ago
Milestone: | Boost 1.36.0 → To Be Determined |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | Boost 1.34.1 → Boost 1.41.0 |
This produces warnings with the new gcc versions; here's an example:
In file included from /sw/lib/gcc4.4/lib/gcc/x86_64-apple-darwin10/4.4.1/../../../../include/c++/4.4.1/backward/hash_set:59,
from /Users/emanuel/alps_svn/boost_1_41_0/boost/graph/adjacency_list.hpp:25, from /Users/emanuel/ALPS/include/alps/lattice/propertymap.h:37, from /Users/emanuel/ALPS/include/alps/lattice/graphproperties.h:34, from /Users/emanuel/ALPS/include/alps/lattice/graph.h:37, from /Users/emanuel/ALPS/include/alps/lattice/unitcell.h:37, from /Users/emanuel/ALPS/include/alps/lattice/disorder.h:38, from /Users/emanuel/ALPS/include/alps/lattice/latticegraph.h:36, from /Users/emanuel/ALPS/include/alps/lattice/latticelibrary.h:35, from /Users/emanuel/ALPS/include/alps/lattice/graph_helper.h:34, from /Users/emanuel/ALPS/include/alps/model/basisdescriptor.h:36, from /Users/emanuel/ALPS/include/alps/model/hamiltonian.h:36, from /Users/emanuel/ALPS/include/alps/model/modellibrary.h:38, from /Users/emanuel/ALPS/include/alps/model/model_helper.h:33, from /Users/emanuel/ALPS/include/alps/scheduler/montecarlo.h:37, from /Users/emanuel/ALPS/include/alps/scheduler.h:31, from qwl_evaluate.C:28:
/sw/lib/gcc4.4/lib/gcc/x86_64-apple-darwin10/4.4.1/../../../../include/c++/4.4.1/backward/backward_warning.h:28: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.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:6 by , 12 years ago
I do not see any uses of <ext/*>
or <*/hash_set>
in the trunk version of BGL or related components. It looks like it is included by Boost.Config and Boost.Serialization; maybe BGL is getting it from one of those.
I guess we should be using tr1/unsorted_set et al.