Skip to content

Can't compile ArduinoJson with GNU++11 #548

@aoudiamoncef

Description

@aoudiamoncef

Hello,
I'm working with PlatformIO and i'm wan't to make some unit tests with ArduinoFake.
[env:native]   | platform = native   | build_flags = -std=gnu++11   | lib_deps = ArduinoFake   | # lib_deps = [email protected]:FabioBatSilva/ArduinoFake.git
All my libraries compile without problems ( ex Hashmap for arduino ) but ArduinoJson don't.
My project is based on ArduinoJson so i can't replace it, so i can't make any unit tests.

Unfortunatly, i hadn't save the log but, it was composed by :
no match for ‘operator=’ (operand types are ‘ArduinoJson::JsonVariant’ and ‘const String’)
error: ‘equals’ is not a member of ‘ArduinoJson::Internals::StringTraits<const String&, void>

I'm using the last realease of ArduinoJson.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions