Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
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).