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

turn compiler warnings into errors #431

Merged
merged 4 commits into from
May 22, 2016

Conversation

kikofernandez
Copy link
Contributor

Most of the compiler warnings are now turned into errors

@albertnetymk
Copy link
Contributor

I think it's good idea to have this. In fact, that's the case in the first place. Uncommenting "FatalWarnings" should be enough.

It fails on my box. No idea why CI works.

@kikofernandez
Copy link
Contributor Author

now builds! There were some warnings (now thrown as errors) that were not visible to me.

@albertnetymk
Copy link
Contributor

Builds on my box. Since we are not interested in that three kinds of warnings, why not disabling them, using -Wno-...? -Wno-error=... would still report them on building.

@kikofernandez
Copy link
Contributor Author

I think it is good to have them as warnings though. We were ignoring them in the first place and that's one of the reasons why I never saw that the static variable n_calls was never used (task library) and probably why @PhucVH888 or @EliasC never realised that the function scons_print is not used either.
I believe it's good to get the warning in place. We will catch more errors in the long run.

@albertnetymk
Copy link
Contributor

OK, then we should not use -Wno-error=unused-... completely.

@kikofernandez
Copy link
Contributor Author

Merging in 15 min

@kikofernandez kikofernandez self-assigned this May 22, 2016
@kikofernandez kikofernandez merged commit debc170 into parapluu:development May 22, 2016
@kikofernandez kikofernandez deleted the fix/compiler-gcc branch May 22, 2016 15:09
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