mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-10 08:04:42 +02:00
Updated Compatibility issues (markdown)
@@ -7,6 +7,7 @@
|
||||
- [Error: undefined reference to `__cxa_guard_acquire` and `__cxa_guard_release`](#error-undefined-reference-to-cxaguardacquire-and-cxaguardrelease)
|
||||
- [Adafruit WICED](#adafruit-wiced)
|
||||
- [ESP32](#esp32)
|
||||
- [Sloeber Arduino Eclipse Plugin](#sloeber-arduino-eclipse-plugin)
|
||||
|
||||
<!-- /MarkdownTOC -->
|
||||
|
||||
@@ -40,7 +41,7 @@ It's been fixed on May 27th by [arduino/ArduinoCore-samd@8ef9bb3](https://github
|
||||
Unfortunately, version 1.6.6 only includes modifications up to May 19th, so the fix is not available through the Arduino Boards Manager.
|
||||
|
||||
I recommend to apply the modification manually or wait until the next release of the Arduino SAMD Core.
|
||||
The files to change are [`USBCore.cpp`](https://github.com/arduino/ArduinoCore-samd/commit/8ef9bb3d7bd026b57a8568030d8992644c9b8de8) and [`CDC.cpp`](https://github.com/arduino/ArduinoCore-samd/commit/8d0c1674628df1c2c7592f4fc17467c694f5a1be).
|
||||
The files to change are [`USBCore.cpp`](https://github.com/arduino/ArduinoCore-samd/commit/8ef9bb3d7bd026b57a8568030d8992644c9b8de8) and [`CDC.cpp`](https://github.com/arduino/ArduinoCore-samd/commit/8d0c1674628df1c2c7592f4fc17467c694f5a1be).
|
||||
|
||||
They are located here on Windows:
|
||||
|
||||
@@ -65,7 +66,7 @@ See issue [#255](https://github.com/bblanchon/ArduinoJson/issues/255)
|
||||
You need to add the following flag:
|
||||
|
||||
> `-fno-threadsafe-statics`
|
||||
> Do not emit the extra code to use the routines specified in the C++ ABI for thread-safe initialization of local statics. You can use this option to reduce code size slightly in code that doesn't need to be thread-safe.
|
||||
> Do not emit the extra code to use the routines specified in the C++ ABI for thread-safe initialization of local statics. You can use this option to reduce code size slightly in code that doesn't need to be thread-safe.
|
||||
|
||||
See issue [#356](https://github.com/bblanchon/ArduinoJson/issues/356) and [#389](https://github.com/bblanchon/ArduinoJson/issues/389)
|
||||
|
||||
@@ -104,3 +105,18 @@ undefined reference to__cxa_guard_release'
|
||||
To solve this, you need to add `-fno-threadsafe-statics` in `platform.txt`.
|
||||
|
||||
See issue [#407](https://github.com/bblanchon/ArduinoJson/issues/407)
|
||||
|
||||
|
||||
## Sloeber Arduino Eclipse Plugin
|
||||
|
||||
When compiling ArduinoJson within the Sloeber Arduino Eclipse Plugin, you may encounter the following error:
|
||||
|
||||
```
|
||||
C:/Utilities/sloeber/arduinoPlugin/libraries/ArduinoJson/5.8.2/fuzzing/fuzzer.cpp:3:39: error: expected class-name before '{' token class memstream : public std::istream
|
||||
```
|
||||
|
||||
You need to add the `fuzzin/` folder to the "Source Folder Exclusion Patterns", like on the pricture bellow:
|
||||
|
||||

|
||||
|
||||
See issues [ArduinoJson #432](https://github.com/bblanchon/ArduinoJson/issues/432) and [Sloeber #642](https://github.com/Sloeber/arduino-eclipse-plugin/issues/642).
|
||||
|
Reference in New Issue
Block a user