You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile davix as part of ROOT, I get the following error message related to document.h:319:
/..../root/build/builtins/davix/DAVIX-prefix/src/DAVIX/src/libs/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/..../root/build/builtins/davix/DAVIX-prefix/src/DAVIX/src/libs/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
I agree that the line looks strange, length is a const SizeType member and should not be assigned. Also, I wonder if the missing return statement could create bugs.
The text was updated successfully, but these errors were encountered:
The issue is related to an out-of-date version of RapidJSON. This has partially been addressed in #120, allowing to specify a more up to date version of RapidJSON.
When I try to compile davix as part of ROOT, I get the following error message related to document.h:319:
I agree that the line looks strange,
length
is aconst SizeType
member and should not be assigned. Also, I wonder if the missing return statement could create bugs.The text was updated successfully, but these errors were encountered: