I just got that error too. It went away when I made the change below. Not sure if it's a bug in the C++ compiler (different versions?) or what, but I'll post it to the bug tracker.
In the file Boost-Graph-1.2/include/BoostGraph_undirected_i.h, edit line
59 to be:
if (this->_changed!=0) this->_fillGraph();
(i.e., add the "this->").
cheers,
-Lisa