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

GCC 48 #1257

Merged
merged 2 commits into from
Sep 28, 2018
Merged

GCC 48 #1257

merged 2 commits into from
Sep 28, 2018

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Sep 25, 2018

This adds GCC 4.8 support, all tests pass on CentOS/RHEL 7. Previously discussed in #212.

All tests pass on Travis, even on GCC 4.8!

@coveralls
Copy link

coveralls commented Sep 25, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 7a37ba0 on henryiii:gcc48 into e184b6e on nlohmann:develop.

@cjh1
Copy link
Contributor

cjh1 commented Sep 27, 2018

👍

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from a small documentation request, everything is great.

include/nlohmann/json.hpp Outdated Show resolved Hide resolved
@henryiii
Copy link
Contributor Author

I missed the compiler testing list in the readme, added a line there too. The other version strings may be a bit out of date.

Also, I'm testing with the external GCC 4.8.5 package just like all the other GCC versions, but GCC 4.8.4 is the default compiler on Travis, so for the first time you could have a no extra packages GCC build of JSON on Travis.

@henryiii
Copy link
Contributor Author

You’ll also want to update the text in the little graphic on the main page where there’s a 3.2.1 release.

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann nlohmann merged commit 680a4ab into nlohmann:develop Sep 28, 2018
@nlohmann
Copy link
Owner

Thanks so much for the effort!

mosra added a commit to mosra/magnum-plugins that referenced this pull request Dec 14, 2018
This allows us to build the TinyGltfImporter on GCC 4.8. It was disabled
until now on Linux because the Travis builds were using GCC 4.7 and
json.hpp required 4.9, but now that we're dropping 4.7 support, it makes
sense to go an extra step and have this built under 4.8 as well.

Taken from nlohmann/json#1257, applied the part
that touches single_include/nlohmann/json.hpp except the compiler check
on top, which doesn't apply.

I could also update to json.hpp 3.3 / 3.4, but that version is 700 kB
(vs 480 kB for this one) and I have no reason to use that. I also hope
I'll never need to update this thing again.
mosra added a commit to mosra/magnum-plugins that referenced this pull request Dec 14, 2018
This allows us to build the TinyGltfImporter on GCC 4.8. It was disabled
until now on Linux because the Travis builds were using GCC 4.7 and
json.hpp required 4.9, but now that we're dropping 4.7 support, it makes
sense to go an extra step and have this built under 4.8 as well.

Taken from nlohmann/json#1257, applied the part
that touches single_include/nlohmann/json.hpp skipping the compiler
check on top (which doesn't apply) and doing the change by hand.

I could also update to json.hpp 3.3 / 3.4, but that version is 700 kB
(vs 480 kB for this one) and I have no reason to use that. I also hope
I'll never need to update this thing again.
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

Successfully merging this pull request may close these issues.

4 participants