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

Remove extra ';' #168

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Remove extra ';' #168

merged 2 commits into from
Mar 11, 2022

Conversation

DanielSeemaier
Copy link
Member

No description provided.

@Hespian
Copy link
Member

Hespian commented Mar 11, 2022

Why didn't this show up in the workflows? Can we do something to catch mistakes like this in the future?

@DanielSeemaier
Copy link
Member Author

DanielSeemaier commented Mar 11, 2022

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96068#c1

It's valid code after C++11. The warning emitted by GCC 10 was apparently a bug that has been fixed with GCC 11+.

@DanielSeemaier
Copy link
Member Author

Apparently there's a Clang-only flag "-Wextra-semi" that we could use, but there does not seem to be an equivalent for GCC.

@DanielSeemaier
Copy link
Member Author

Added the flag, you may choose to re-approve.

@DanielSeemaier DanielSeemaier merged commit ade80b8 into main Mar 11, 2022
@DanielSeemaier DanielSeemaier deleted the fix-extra-semicolon branch March 11, 2022 13:14
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