Replies: 2 comments 5 replies
-
|
Do you mean #3452? |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
I am waaay late to the party, but only because I am looking for a JSON library for C/C++ for an application that this question is pertinent to. gcc 4.x is relevant (to my dismay - but it takes time to update some things that already "just work") for some government applications, such as the one I am working on (no, I can't say what it is). I can say the version is gcc 4.4.7 (yes, a broken compiler, but it is what it is). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am wondering why json still (in 2022) needs to support a compiler that is legacy, especially considering that there is the term "Modern" is the headline of the library.
As a reminder, gcc < v5 does not even support C++11. There are several traits missing (for instance
std::is_trivially_copyableamongst others) and the compiler is even buggy for some code, that prevents optimizations.In a PR of mine I wanted to give an interesting optimization of the
json::iteratorand the code had not been approved just because it could not compile with gcc 4 only, which is really a shame for a library claming to be for modern C++.Beta Was this translation helpful? Give feedback.
All reactions