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

Turn off additional deprecation warnings for GCC. #1271

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

chuckatkins
Copy link
Contributor

In follow up from the conversation in #1269, this adds the -Wno-deprecate-definitions flag to unit tests to allow them to test deprecated APIs without all the noisy compiler warnings. This also refactors the setting of build properties for test targets to use target_<...> commands instead of set_target_properties()

In follow up from the conversation in nlohmann#1269, this adds the
`-Wno-deprecate-declarations` flag to unit tests to allow them to
test deprecated APIs without all the noisy compiler warnings.
This also refactors the setting of build properties for test targets
to use `target_<...>` commands instead of `set_target_properties()`.
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 self-assigned this Oct 2, 2018
@nlohmann nlohmann added this to the Release 3.3.0 milestone Oct 2, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 829571a on chuckatkins:cleanup-deprecated-warnings into c8231ef on nlohmann:develop.

@nlohmann nlohmann merged commit 53ec0a1 into nlohmann:develop Oct 2, 2018
@nlohmann
Copy link
Owner

nlohmann commented Oct 2, 2018

Thanks a lot!

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.

3 participants