Skip to content

Conversation

@riccozzz
Copy link
Contributor

Some small changes required for me to compile with stricter compiler flags


// Disable warning about not handling all enums in switch statement even with
// a default case
# pragma GCC diagnostic ignored "-Wswitch-enum"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you post specific warnings this is causing? Might be better to fix those instead of suppressing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

screenshot_2019-02-23_13-29-00

I thought having a default case is cleaner and just disabling this warning is preferable.

@vitaut
Copy link
Contributor

vitaut commented Feb 23, 2019

Thanks for the PR! Just two minor inline comments.

@vitaut vitaut merged commit 327d4b6 into fmtlib:master Feb 23, 2019
@vitaut
Copy link
Contributor

vitaut commented Feb 23, 2019

Merged, thanks!

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.

2 participants