Skip to content

EEZ Flow: Native arrays give compile errors #260

@fietser28

Description

@fietser28

Defining a native array of integers:
image

Check and build are fine, but compilation gives:

image
Something seems of in the generated code.

With an array of strings a similar error appears. Non native arrays work fine.
Compiling on RP2040 / platformio and earlephilhower core.

I also noticed in vars.h the external definition of an array of integers is very generic (void*):
image
Isn't this very prone to errors? You have to keep types manually in sync between code and flow definition and with a void definition the compiler might not catch an error or do a type cast for you? I couldn't test this because of the compile error.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions