Build fails with boost1.40/boost1.42
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
peekabot |
New
|
Undecided
|
Unassigned |
Bug Description
Building against boost1.40 (Ubuntu Lucid) or boost1.42 (Debian Squeeze) fails with the following error:
gui/Gui.cc: In member function ‘void peekabot:
gui/Gui.cc:690: error: ‘struct std::basic_
The relevant section of the code is:
#if BOOST_FILESYSTE
#else
#endif
The offending line in Gui.cc is:
std::string leaf = it->path(
Changing to the following fixes the problem:
std::string leaf = it->path(
Maybe some additional configure check is needed to figure out whether the ".string()" is needed?