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

Clean warnings #2

Open
a-a-maly opened this issue Jul 11, 2018 · 0 comments
Open

Clean warnings #2

a-a-maly opened this issue Jul 11, 2018 · 0 comments

Comments

@a-a-maly
Copy link
Owner

a-a-maly commented Jul 11, 2018

There should be no compiler warnings with -O3 -Wall -W.
Lots of them may hide really dangerous ones.
warn1.log

Something should be done with -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS for VS compiler.

Remove -DNDEBUG -DQT_NO_DEBUG for Release build, asserts should be checked in production as well.
Remove -O2 for Release build, there is no reason to override default -O3.

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

No branches or pull requests

1 participant