-
-
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
Fails to compile on Particle.io WebIDE #1073
Comments
Hi @shanevanj, Thank you for reporting this. It seems to be a regression introduced by #1071. As a workaround, you can define Best Regards, |
Indeed, only |
Thanks I tried both
and
and the compile still fails with same error - I guess its because the entry is missing in https://github.com/particle-iot/device-os/blob/1b1805fb4afcb93b0e92fbecfd28c082d6310285/wiring/inc/spark_wiring_arduino.h I edited the same file on my local workbench install ( added in the strncmp_P() ) and the code compiles locally okay. I have raised a bug request on particle (https://github.com/particle-iot/device-os/issues/1884) which they are now arguing about. If I insert this the .h file above where the <ArduinoJson.h> is first used it compiles
|
Hi @shanevanj, Thanks for the update. You must define You're right about 6.11.3: it doesn't work either. Thanks for opening a bug request on Particle. Best Regards, |
Thanks for your patience ! - issue closed on particle with comment that
must be included before any PROGMEM dependant code. Regards Shane |
A fix is included in ArduinoJson 6.11.5 |
Fails to compile on Particle.io WebIDE
Error on WebIDE is
lib/ArduinoJson/ArduinoJson/Strings/SizedFlashStringAdapter.hpp:19:69: 'strncmp_P' was not declared in this scope
Particle.io WebIDE target device Gen3 Mesh (Argon or Xenon)
Library version ArduinoJson (6.11.4)
Reproduce
Open WebIDE
Select libraries, Search ArduinoJSON, select JsonParserExample.ino then select
USE THIS EXAMPLE
Compile the App and error is produced
The text was updated successfully, but these errors were encountered: