-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
A clean checkout + ./configure + make on my Arch linux system gives the following error:
contrib/rapidjson/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
contrib/rapidjson/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | cStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
make: *** [Makefile:58: msgpack2json] Error 1
The same issue occurred when I tried to build the AUR package at https://aur.archlinux.org/msgpack-tools.git
It seems the underlying issue is Tencent/rapidjson#2277, and a fix got merged as of 2016(!) but there has still not been a new release with the fix in it...
cemu-project/Cemu#1196 has an example of the same problem on Arch and links to a patch file (https://github.com/Tencent/rapidjson/commit/3b2441b8.patch) that can fix the issue to facilitate building. I can try put together a PR for something like this given some guidance on what the best approach might be for this project.
TactfulDeity, xqyww123, markg85, drowning-cat and lafrenierejm
Metadata
Metadata
Assignees
Labels
No labels