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

fix gcc build of rapidjson #898

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

inbelic
Copy link
Contributor

@inbelic inbelic commented Aug 11, 2024

- update rapidjson repo to include commit that removes assignment of
  read-only member error

see Tencent/rapidjson#2277 (comment)

    - update rapidjson repo to include commit that removes assignment of
      read-only member error
@j2kun
Copy link
Collaborator

j2kun commented Aug 11, 2024

!!!

The fix was merged in 2016 😱

@j2kun j2kun added the pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing label Aug 11, 2024
@AlexanderViand-Intel
Copy link
Collaborator

AlexanderViand-Intel commented Aug 11, 2024

!!!

The fix was merged in 2016 😱

It looks like rapidjson is basically abandonware :( There are dozens of issues on their repo asking for new releases, especially since one lone maintainer does seem to occasionally merge a few fixes.

@j2kun Do we we need the speed of rapidjson, or could we swap to something more well-maintend, like nlohmann/json?

@j2kun
Copy link
Collaborator

j2kun commented Aug 11, 2024

The obstacle is mainly what libraries are already inside Googles monorepo. I can check, and if not it's a bit of extra work to integrate a new library (and I'd be the long term maintainer of that new library internally)

@asraa
Copy link
Collaborator

asraa commented Aug 12, 2024

The obstacle is mainly what libraries are already inside Googles monorepo. I can check, and if not it's a bit of extra work to integrate a new library (and I'd be the long term maintainer of that new library internally)

Actually rapidjson is so abandonware that we get internal presubmit warning asking us to not use it and to use nlohmann/json. I used to be on the team that added that presubmit warning because our json fuzzers for rapidjson had so many open bugs. I can migrate it over! I'll open a bug.

@copybara-service copybara-service bot merged commit 317b1a6 into google:main Aug 12, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants