Skip to content

Fix problem with warnings for platforms #297

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
Oct 4, 2021

Conversation

jgfoster
Copy link
Member

@jgfoster jgfoster commented Apr 4, 2021

As a follow-up to #292, I tried to add warnings for a platform and found that it doesn't work. This should fix it.

jgfoster added a commit to jgfoster/TankController that referenced this pull request Apr 4, 2021
@ianfixes
Copy link
Collaborator

ianfixes commented Apr 4, 2021

Is the YAML file a necessary part of the fix? If not, I'll just fix the typo in my branch

@jgfoster
Copy link
Member Author

jgfoster commented Apr 4, 2021

The YAML file is a test of the fix. If you add the YAML file without the cpp_library.rb fix then you can see the failure.

@ianfixes
Copy link
Collaborator

ianfixes commented Apr 5, 2021

Understood. I'm going to exercise this with unit testing instead, as I should have done earlier to prevent such an obvious error.

@ianfixes ianfixes mentioned this pull request Apr 5, 2021
@ianfixes ianfixes closed this Apr 5, 2021
@ianfixes
Copy link
Collaborator

ianfixes commented Apr 5, 2021

Unit tests are here aacfdb2

jgfoster pushed a commit to jgfoster/arduino_ci that referenced this pull request Sep 2, 2021
prestoncarman pushed a commit to Open-Acidification/TankController that referenced this pull request Sep 2, 2021
* Suppress warnings in external libraries.
* Depends on Arduino-CI/arduino_ci#297.
* Push trivial change to see if failing test in PR causes badge to update.

Co-authored-by: James Foster <[email protected]>
@jgfoster jgfoster reopened this Oct 3, 2021
@jgfoster jgfoster merged commit 0e69d9a into Arduino-CI:master Oct 4, 2021
@jgfoster jgfoster deleted the warnings branch October 4, 2021 02:11
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