-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
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.
Fantastic library by the way! Very beautiful API/syntax. 👏 |
Hi @AGlass0fMilk, Thank you for this contribution! Best Regards, |
@@ -4,3 +4,4 @@ fuzzing/ | |||
scripts/ | |||
test/ | |||
third-party/ | |||
extras/ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
PR squashed and merged. |
Fix published in ArduinoJson 6.18.0 |
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):
Among other errors. Simply ignoring this directory from the Mbed-OS build is sufficient to fix this problem.