Public bug reported:
My project uses libcereal which in turn depends on rapidjson. Starting
yesterday-ish, we are starting to see compilation failure inside
rapidjson. The build is being done inside the latest `ubuntu:devel`
docker image.
This is the failure:
#11 16.71 In file included from /usr/include/cereal/archives/json.hpp:67,
#11 16.71 from /src/src/aot/aot.cpp:16:
#11 16.71 /usr/include/rapidjson/document.h: In member function
'rapidjson::GenericStringRef<CharType>&
rapidjson::GenericStringRef<CharType>::operator=(const
rapidjson::GenericStringRef<CharType>&)':
#11 16.71 /usr/include/rapidjson/document.h:319:82: error: assignment of
read-only member 'rapidjson::GenericStringRef<CharType>::length'
#11 16.71 319 | GenericStringRef& operator=(const GenericStringRef& rhs)
{ s = rhs.s; length = rhs.length; }
#11 16.71 |
~~~~~~~^~~~~~~~~~~~
It seems like this was fixed upstream in 2016:
https://github.com/Tencent/rapidjson/issues/718
But rapidjson hasn't cut a release that contains the fix.
** Affects: rapidjson (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073996
Title:
rapidjson fails to build
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rapidjson/+bug/2073996/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs