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

Reduce some of GCC 7's nagging #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CounterPillow
Copy link
Contributor

@CounterPillow CounterPillow commented Jun 2, 2017

Disable -Wimplicit-fallthrough using fallthrough comments, since we can't use C++17 attributes.

Also disable -Wattributes in embree, since it generates a lot of warnings from that.

Add fallthrough comments to tinyformat.hpp to disable
-Wimplicit-fallthrough warnings.

Also disable -Wattributes in embree, since it generates a lot of
warnings from that.
@tunabrain
Copy link
Owner

Thanks for that! Is it possible to just use -Wno-implicit-fallthrough instead of modifying tinyformat? I'd like to avoid modifying third-party libraries, since those changes will be overwritten when the library is updated.

@nemequ
Copy link

nemequ commented Jun 23, 2018

Better yet, why not just update tinyformat? This seems to be fixed already there…

@CounterPillow
Copy link
Contributor Author

Well, you are commenting over a year later

@nemequ
Copy link

nemequ commented Jun 23, 2018

Originally I was going to suggest fixing tinyformat instead of just disabling the warning. It's an easy patch.

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