Skip to content

Conversation

@willwray
Copy link

@willwray willwray commented Sep 13, 2017

GCC 7 now warns if a switch case does not end with a break; statement.

For reference, bitcoin addressed this with the following PR:
This is a well-intentioned but realistically annoying warning. Unfortunately,
it's too easy for a warning in one header to cause dozens of repeated warnings.
bitcoin#10489

This is a well-intentioned but realistically annoying warning. Unfortunately,
it's too easy for a warning in one header to cause dozens of repeated warnings.
bitcoin#10489
@codablock
Copy link

utACK

@UdjinM6 UdjinM6 added this to the 12.2 milestone Sep 13, 2017
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit ace0017 into dashpay:v0.12.2.x Sep 14, 2017
@willwray willwray deleted the build-silence-gcc7-implicit-fallthrough-warning branch November 29, 2017 19:02
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