You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for reporting this bug.
It'll be fixed very soon; until then, you can revert back to 6.17.0 or cast Sensor[ObjectID].Name to a const char*:
I am not able to identify the error, but it is having a problem in the compilation after the update. Can someone guide me please?
D:\SETUP\Programas\Desenvolvimento\ArduinoDesenv\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantOperators.hpp: In instantiation of 'typename ArduinoJson6171_91::enable_if<(! ArduinoJson6171_91::IsVariant::value), T>::type ArduinoJson6171_91::operator|(const TVariant&, T) [with T = char*; TVariant = ArduinoJson6171_91::MemberProxy<ArduinoJson6171_91::ObjectRef, const __FlashStringHelper*>; typename ArduinoJson6171_91::enable_if<(! ArduinoJson6171_91::IsVariant::value), T>::type = char*]':
C:\Users\Laercio\AppData\Local\Temp\arduino_build_217137\sketch\Sensor.h:287:86: required from here
D:\SETUP\Programas\Desenvolvimento\ArduinoDesenv\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantOperators.hpp:26:37: error: invalid conversion from 'ArduinoJson6171_91::VariantAs<char*>::type {aka const char*}' to 'ArduinoJson6171_91::enable_if<true, char*>::type {aka char*}' [-fpermissive]
return variant.template as();
^
The text was updated successfully, but these errors were encountered: