Skip to content

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