#5278 closed Bugs (fixed)
FTBFS "make_obj_guard_of_c was not declared in this scope" in read_graphviz_new.cpp and graphml.cpp
| Reported by: | Owned by: | Thorsten Ottosen | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | multi_index |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
For some days, including with the latest boost trunk (69677) I get the following FTBFS
The problem could be in multi_index or scope_guard, however.
gcc.compile.c++ bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/read_graphviz_new.o
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/read_graphviz_new.o" "libs/graph/src/read_graphviz_new.cpp"
In file included from ./boost/multi_index_container.hpp:40,
from ./boost/graph/named_graph.hpp:16,
from ./boost/graph/adjacency_list.hpp:45,
from ./boost/graph/graphviz.hpp:24,
from libs/graph/src/read_graphviz_new.cpp:50:
./boost/multi_index/detail/scope_guard.hpp: In function ‘typename boost::multi_index::detail::null_guard_return<C::value, boost::multi_index::detail::obj_scope_guard_impl1<Obj, MemFun, P1> >::type boost::multi_index::detail::make_obj_guard_if(Obj&, MemFun, P1)’:
./boost/multi_index/detail/scope_guard.hpp:366: error: ‘make_obj_guard_of_c’ was not declared in this scope
gcc.compile.c++ bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/graphml.o
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi/graphml.o" "libs/graph/src/graphml.cpp"
In file included from ./boost/multi_index_container.hpp:40,
from ./boost/graph/named_graph.hpp:16,
from ./boost/graph/adjacency_list.hpp:45,
from ./boost/graph/graphviz.hpp:24,
from ./boost/graph/graphml.hpp:20,
from libs/graph/src/graphml.cpp:17:
./boost/multi_index/detail/scope_guard.hpp: In function ‘typename boost::multi_index::detail::null_guard_return<C::value, boost::multi_index::detail::obj_scope_guard_impl1<Obj, MemFun, P1> >::type boost::multi_index::detail::make_obj_guard_if(Obj&, MemFun, P1)’:
./boost/multi_index/detail/scope_guard.hpp:366: error: ‘make_obj_guard_of_c’ was not declared in this scope
...skipped <pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi>libboost_graph-mt.so.1.46.1 for lack of <pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi>read_graphviz_new.o...
...skipped <p/var/lib/buildbot/instdirs/boost-trunk/lib>libboost_graph-mt.so.1.46.1 for lack of <pbin.v2/libs/graph/build/gcc-4.4.5/release/threading-multi>libboost_graph-mt.so.1.46.1...
...skipped <p/var/lib/buildbot/instdirs/boost-trunk/lib>libboost_graph-mt.so for lack of <p/var/lib/buildbot/instdirs/boost-trunk/lib>libboost_graph-mt.so.1.46.1...
Change History (4)
comment:1 by , 12 years ago
| Component: | graph → multi_index |
|---|---|
| Owner: | changed from to |
comment:2 by , 12 years ago
| Owner: | changed from to |
|---|
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
There was a typo that gcc was kind enough to diagnose.
Note:
See TracTickets
for help on using tickets.

Reassigned to Thorsten, who did the problematic change to scope_guard.hpp.