IAR compile error (pe070)
Created by: Manha96
Hi,
When I include the newest Version of the ArduinoJson Library (v6.18.0) into my IAR workbench (v8.50.9), I always get the same error:
Error Pe070: Error[Pe070]: incomplete type is not allowed. Detected during instantiation of "inline bool ArduinoJson6180_11::VariantRef::set(T const &) const [with T=signed char]" at line 94
Line 94 in the Library:
template <typename T> FORCE_INLINE bool set(const T &value) const { return Converter<T>::toJson(value, *this); }
After trying several things such like creating new iar project, try c instead of cpp etc., I eventually checked out the previous version (v6.17.3). With this version I didn't get any error.
-
Is this iar compile error already known?
-
If yes, are the current branches tackle this problem?
I hope my description was clear enough. I didn't wrote any code with the library. I have just included the header file. Suprisingly, I don't get any error with visual studio neither.
BR