-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Failed compile using 5.7.0 #381
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
Comments
OK the issue seems to reside in the use of F() macro... although not used there, i have them spotted around, and even though it is meant to support JsonArray & mac = STAjson[F("abc")]; this does not work.
|
Hi @sticilface, Thank you very much for reporting this issue. You're right about the second error, it is related to the The error you had in the first message is different. |
no problem. 2 issues explains why i was having a bit of a nightmare tracking it down. this was also only occurring when i used a beta feature of platoformio with remote compilation. as it would automatically download the latest lib eery time, and not use the cached one which my local platformio was doing. got there in the end though! |
Sorry about that. I'll merge the two fixes, as soon as the builds pass. |
no problem! totally happy to help! its a great lib:) and i use it in everything! |
Fixed in ArduinoJson 5.7.1. |
unfortunately... it is not fixed :( Are you able to compile using Arduino and my example from here here is the error
this is line 1416
|
My mistake. I assumed that PROGMEM was only available on AVR. You'll need to add
at the top of the file, until I fix this in the next release. Le 13 nov. 2016 22:08, "sticilface" [email protected] a écrit :
|
ah that does indeed fix the issue. thank you |
I'm not entirely sure what is going on here, or why, but this line causes my compilation to fail. whereas the same line in an example ino does not.
set.STA.MAC is a 6 byte uin8_t array. but using a temp uint8_t or anything else does not work either.
STAjson is defined as
the string_ are static const char * to simple strings...
the error is below
it happens in platformio and arduino, and only for the latest 5.7.0 version.
if i change the code to
then it works.
bit of a loss really
The text was updated successfully, but these errors were encountered: