[Coco] more MW-C cross platform issues

Luis Antoniosi (CoCoDemus) retrocanada76 at gmail.com
Wed Mar 12 20:32:55 EDT 2014


apparently we cannot have the same member names for different structs like:


typedef struct
{
    char hiaddr;
    unsigned loaddr;
} vaddr;

typedef struct
{
    char used;
    unsigned size;
    vaddr next;
    vaddr prev;
} vdp_head;

typedef struct
{
    unsigned size;
    long next;
    long prev;
} line_head;


changing the second to: _size, _next and _prev does compile.


-- 
Long live the CoCo



More information about the Coco mailing list