Opened 13 years ago

Closed 13 years ago

#3048 closed Bugs (wontfix)

BGL Graphviz parser fails to compile in trunk (for 1.40)

Reported by: ramon.casellas@… Owned by: Jeremiah Willcock
Milestone: Boost 1.40.0 Component: graph
Version: Boost Development Trunk Severity: Showstopper
Keywords: BGL Graphviz error Cc:

Description

/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. In file included from ./boost/graph/graphviz.hpp:803,

from libs/graph/src/read_graphviz_spirit.cpp:28:

./boost/graph/detail/read_graphviz_new.hpp:316: error: declaration of ‘boost::read_graphviz_detail::tokenizer<BidirectionalIterator> boost::read_graphviz_detail::parser<BidirectionalIterator, Policy>::tokenizer’ ./boost/graph/detail/read_graphviz_new.hpp:139: error: changes meaning of ‘tokenizer’ from ‘struct boost::read_graphviz_detail::tokenizer<BidirectionalIterator>’

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_NO_LIB=1 -DNDEBUG -I"." -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/gcc-4.3.3/release/link-static/threading-multi/read_graphviz_spirit.o" "libs/graph/src/read_graphviz_spirit.cpp"

...failed gcc.compile.c++ bin.v2/libs/graph/build/gcc-4.3.3/release/link-static/threading-multi/read_graphviz_spirit.o...

Change History (4)

comment:1 by Jeremiah Willcock, 13 years ago

Owner: changed from Andrew Sutton to Jeremiah Willcock
Status: newassigned

comment:2 by Jeremiah Willcock, 13 years ago

I fixed the error from this. Which deprecated header is GCC complaining about?

in reply to:  2 comment:3 by ramon.casellas@…, 13 years ago

Replying to jewillco:

I fixed the error from this. Which deprecated header is GCC complaining about?

Apologies for the uncomplete cut&paste.

The deprecated header is hash_set, apparently included from adjacency_list.hpp (25) included from gaphviz.hpp(24).

Looking at adjacency_list.hpp, there are some check macros defined (I'm compiling with stock gcc 4.3 on debian / ubuntu)

comment:4 by Jeremiah Willcock, 13 years ago

Resolution: wontfix
Status: assignedclosed

This wasn't added by my latest changes, and I don't think there is a portable replacement for hash_set, so this will be closed as wontfix, even though the error part has been fixed.

Note: See TracTickets for help on using tickets.