Thanks Chris!

This bug can be fixed with the following patch:

commit c3860b75b588f860d83f10b08749ffdc0a9271bd
Author: Chris Frey <cdf...@foursquare.net>
Date:   Tue Oct 27 22:23:56 2015 -0400

    desktop: avoid ambiguous function calls with newer compilers

diff --git a/desktop/src/xmlmap.cc b/desktop/src/xmlmap.cc
index 6b06531..ff26267 100644
--- a/desktop/src/xmlmap.cc
+++ b/desktop/src/xmlmap.cc
@@ -520,8 +520,6 @@ XmlNodeMap& XmlNodeMap::operator=(const XmlNodeMap &other)
 #include <locale>
 #include <glibmm.h>
 #include <tr1/functional>
-using namespace std::tr1;
-using namespace std::tr1::placeholders;
 
 int main(int argc, char *argv[])
 {
@@ -540,14 +538,18 @@ int main(int argc, char *argv[])
                np.SortBySummary();
                cout << "\n\nCute summary:\n";
                for_each(np.begin(), np.priority_end(),
-                       bind( mem_fn(&XmlNodeMapping::DumpSummaries),
-                               _1, ref(cout)));
+                       std::tr1::bind(
+                               
std::tr1::mem_fn(&XmlNodeMapping::DumpSummaries),
+                               std::tr1::placeholders::_1,
+                               std::tr1::ref(cout)));
 
                np.SortByPath();
                cout << "\n\nCute summary:\n";
                for_each(np.begin(), np.priority_end(),
-                       bind( mem_fn(&XmlNodeMapping::DumpSummaries),
-                               _1, ref(cout)));
+                       std::tr1::bind(
+                               
std::tr1::mem_fn(&XmlNodeMapping::DumpSummaries),
+                               std::tr1::placeholders::_1,
+                               std::tr1::ref(cout)));
        }
        catch( Glib::ConvertError &e ) {
                cerr << e.what() << endl;


I'm hoping to fix a bunch of other small things at the same time.
But if this is super urgent, feel free to proceed with this patch.

Thanks,
- Chris

Reply via email to