Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with gcc trunck (gcc 15.0.0) #2277

Open
blackgolfer opened this issue May 8, 2024 · 3 comments
Open

problem with gcc trunck (gcc 15.0.0) #2277

blackgolfer opened this issue May 8, 2024 · 3 comments

Comments

@blackgolfer
Copy link

rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef::length’

@BlackZork
Copy link

Same on current ArchLinux:

[build] /usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
[build]   319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
[build]       |                                                                           ~~~~~~~^~~~~~~~~~~~```

gcc version 14.1.1 20240507 (GCC)

@l1nxy
Copy link

l1nxy commented May 10, 2024

Need add patch from #719 .

@blackgolfer
Copy link
Author

yes, it is the problem with current release v1.1.0 which seems to be out of date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants