Skip to content

Arduino 1.5.8 not compiling array assignation: assigning to an array from an initializer list #2359

Closed
@Gamberetto

Description

@Gamberetto
void setup() {
  // put your setup code here, to run once:

  byte array[2][2];
  array[0] = {0x0F, 0xF0};
  array[1] = {0x00, 0xFF};
}

void loop() {
  // put your main code here, to run repeatedly:
}

Compiles on Arduino-1.5.6-r2 - Arduino Due (Programming Port)
Doesn't compile on Arduino-1.5.8 - Arduino Due (Programming Port) with error:

error: assigning to an array from an initializer list

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: InvalidOff topic for this repository, or a bug report determined to not actually represent a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions