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

Add extras folder to .mbedignore #1515

Closed
wants to merge 2 commits into from

Conversation

AGlass0fMilk
Copy link
Contributor

This commit adds the extras folder to the .mbedignore file. Some code in the extras folder causes build failures when compiling for Mbed OS (shown below):

[Error] Issue1189.cpp@12,8: 'ArduinoJson6173_71::JsonDocument::JsonDocument(const ArduinoJson6173_71::JsonDocument&)' is private within this context
[Error] Issue1189.cpp@12,8: 'ArduinoJson6173_71::JsonDocument::~JsonDocument()' is protected within this context

Among other errors. Simply ignoring this directory from the Mbed-OS build is sufficient to fix this problem.

This commit adds the extras folder to the .mbedignore file. Some code in the extras folder causes build failures when compiling for Mbed OS (shown below):

```
[Error] Issue1189.cpp@12,8: 'ArduinoJson6173_71::JsonDocument::JsonDocument(const ArduinoJson6173_71::JsonDocument&)' is private within this context
[Error] Issue1189.cpp@12,8: 'ArduinoJson6173_71::JsonDocument::~JsonDocument()' is protected within this context
```

Among other errors. Simply ignoring this directory from the Mbed-OS build is sufficient to fix this problem.
@AGlass0fMilk
Copy link
Contributor Author

Fantastic library by the way! Very beautiful API/syntax. 👏

@coveralls
Copy link

coveralls commented Mar 2, 2021

Coverage Status

Coverage remained the same at 99.043% when pulling dc33e42 on AGlass0fMilk:ignore-extras-mbed into ff44d93 on bblanchon:6.x.

@bblanchon
Copy link
Owner

Hi @AGlass0fMilk,

Thank you for this contribution!
I think this is a good opportunity to remove old folders from the list (fuzzing, scripts, test, and third-party).
Can you do that?

Best Regards,
Benoit

@bblanchon bblanchon added the bug label Mar 3, 2021
@bblanchon bblanchon added this to the v6.18 milestone Mar 3, 2021
@@ -4,3 +4,4 @@ fuzzing/
scripts/
test/
third-party/
extras/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good opportunity to remove old folders from the list (fuzzing, scripts, test, and third-party).
Can you do that?

Copy link
Contributor Author

@AGlass0fMilk AGlass0fMilk Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have implemented this in dc33e42

@bblanchon bblanchon closed this in 803e07c Mar 31, 2021
@bblanchon
Copy link
Owner

PR squashed and merged.
Thanks, @AGlass0fMilk!

@bblanchon
Copy link
Owner

Fix published in ArduinoJson 6.18.0

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants