Skip to content

The code reports an error in the editor #137

@yuta-sakata

Description

@yuta-sakata

in the ajax.ino's line 101

deviceSettings.broadcast = deviceSettings.ip | (~deviceSettings.subnet);

espArtnetNode_2.0.0_b5g\ajax.ino: In function 'bool ajaxSave(uint8_t, ArduinoJson::JsonObject&)':
ajax:101:55: error: ambiguous overload for 'operator~' (operand type is 'IPAddress')
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: candidates are:
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(uint32_t {aka unsigned int})
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(u32_t {aka long unsigned int})
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(int)

exit status 1

ambiguous overload for 'operator~' (operand type is 'IPAddress')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions