Skip to content

Remove warnings "-Wreorder" and "-Wunused-parameter" #42

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 1 commit into from
Sep 16, 2019
Merged

Remove warnings "-Wreorder" and "-Wunused-parameter" #42

merged 1 commit into from
Sep 16, 2019

Conversation

Pigeo
Copy link
Contributor

@Pigeo Pigeo commented Aug 19, 2017

Compiling Wire.cpp with all warnings enabled generates a lot of warnings (of type "-Wreorder" and "-Wunused-parameter"). I don't know why and what changes should be made to the code to avoid that, so I simply put a #pragma GCC diagnostic push/ignored/pop in order to temporarily fix that.

added #pragma GCC diagnostic push/ignored/pop in order to suppress warnings inside Wire.cpp
@aentinger aentinger merged commit 9944119 into arduino:master Sep 16, 2019
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.

3 participants