Subject: | Boost::Graph fails to compile with gcc 4.4 and above |
The version of the BGL C++ library bundled with Boost::Graph does not
compile with gcc 4.4 and above.
This is a well known problem:
http://stackoverflow.com/questions/9631762/error-missing-binary-operator-before-token
http://thread.gmane.org/gmane.comp.lib.boost.devel/228802
The problem has been fixed with version 1.51 of the BGL:
http://www.boost.org/doc/libs/1_51_0/libs/graph/doc/index.html
but unfortunately the version of BGL bundled with Boost::Graph is much
older (v1.33)
One fix would be to bundle BGL 1.51 with Boost::Graph.
Another fix would be to "unbundle" BGL from Boost::Graph and let the
user install the new version.