Arch Linux gcc 7.1.1 update

It looks like gcc 7.1.1 update broke something in OF, I cannot build anymore any project. I get this error. There’s an issue with nlohmann’s json.hpp in conjuction with gcc 7.1.1 it seems:

/home/thinkpad2000/Downloads/of_v20170517_linux64_release/libs/json/include/json.hpp:5002:62: error: wrong number of template arguments (1, should be 2)
                   return *lhs.m_value.array < *rhs.m_value.array;
In file included from /usr/include/c++/7.1.1/tuple:39:0,
               from /usr/include/c++/7.1.1/bits/unique_ptr.h:37,
               from /usr/include/c++/7.1.1/bits/locale_conv.h:41,
               from /usr/include/c++/7.1.1/locale:43,
               from /usr/include/c++/7.1.1/iomanip:43

So it looks like that update brought in a incompability between the new tuple and json.hpp… can anyone confirm this? And does anyone know about a possible fix?

I get this error with ( works fine).

Your link @alberto2000 includes now a solution.

this is now fixed in latest master (and re-running