I can't assign one variable to another variable which has some struct type.
someStructType struct1, struct2;
struct1.i = 1;
struct1.c = 'a';
strcut2 = struct1; // can't pass compiler here
please help me, thank you!
Even if there have been:
struct2 = struct1;
strcut2 = struct1;
SDCC cannot (yet) assign structures/unions, it's one of it's ANSI incompabilities (see sdccman.pdf, 8.2 ANSI-Compliance, p.97 in v2.8.0 Rev. 5096 2008-03-14).
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.