Skip to content

removed warning for wide range of GCC versions (5,6,7), fixes #9 #10

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

Merged
merged 2 commits into from
Nov 8, 2017
Merged

Conversation

Kolcha
Copy link
Contributor

@Kolcha Kolcha commented Nov 8, 2017

removed macro which produces warning with GCC 5 or 6
and added simple comment instead of it (to disable warning produced by GCC 7)
fixes #9

@Skycoder42
Copy link
Owner

Skycoder42 commented Nov 8, 2017

I recently discovered the Q_FALLTHROUGH macro. I was planning to use this one instead of the warning disablers, as that macro works for gcc7, clang, msvc, etc.

Could you add the macro in the line before the comment? Having both seems like a good solution to me

@Kolcha
Copy link
Contributor Author

Kolcha commented Nov 8, 2017

added. but notice, according to documentation, this macro available only since Qt 5.8.
maybe it worth mentioning somewhere in your README

@Skycoder42
Copy link
Owner

Thanks, I will keep that in mind

@Skycoder42 Skycoder42 merged commit f4665e2 into Skycoder42:master Nov 8, 2017
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.

warning during compilation on Linux
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy