Build fails with jsoncpp 1.7.7
Fedora rawhide has updated to jsoncpp 1.7.7. Paraview 5.1.2 now fails with:
/builddir/build/BUILD/ParaView-v5.1.2/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx: In instantiation of 'Json::Value vtkConvertXMLElementToJSON(vtkSMVectorProperty*, const std::vector<vtkSmartPointer<vtkPVXMLElement> >&) [with T = long long int]':
/builddir/build/BUILD/ParaView-v5.1.2/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx:1403:7: required from here
/builddir/build/BUILD/ParaView-v5.1.2/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx:1331:52: error: call of overloaded 'Value(long long int&)' is ambiguous
value[static_cast<unsigned int>(cc)] = Json::Value(xmlValue);
^~~~~~~~~~~~~~~
In file included from /usr/include/json/json.h:10:0,
from /builddir/build/BUILD/ParaView-v5.1.2/fedora/VTK/ThirdParty/jsoncpp/vtk_jsoncpp.h:26,
from /builddir/build/BUILD/ParaView-v5.1.2/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx:36:
/usr/include/json/value.h:317:3: note: candidate: Json::Value::Value(Json::Value&&)
Value(Value&& other);
^~~~~
/usr/include/json/value.h:314:3: note: candidate: Json::Value::Value(const Json::Value&)
Value(const Value& other);
^~~~~
/usr/include/json/value.h:312:3: note: candidate: Json::Value::Value(bool)
Value(bool value);
^~~~~
/usr/include/json/value.h:289:3: note: candidate: Json::Value::Value(double)
Value(double value);
^~~~~
/usr/include/json/value.h:287:3: note: candidate: Json::Value::Value(Json::Value::UInt64)
Value(UInt64 value);
^~~~~
/usr/include/json/value.h:286:3: note: candidate: Json::Value::Value(Json::Value::Int64)
Value(Int64 value);
^~~~~
/usr/include/json/value.h:284:3: note: candidate: Json::Value::Value(Json::Value::UInt)
Value(UInt value);
^~~~~
/usr/include/json/value.h:283:3: note: candidate: Json::Value::Value(Json::Value::Int)
Value(Int value);
^~~~~