When I try to compile some code on gcc 4.4.5, gcc runs into an error on this line:
ORG(e) = DEST(a);
These 2 macros are defined as:
#define ORG(e) ((site_struct *) ODATA(e))
#define DEST(e) ((site_struct *) DDATA(e))
I did not have a problem compiling this on solaris with gcc 3.4.5.
I ve been trying to figure out why it won t compile for quite a while but to no avail. Can anyone point me in the right direction?
From a comment:
ODATA and DDATA are defined as:
#define ODATA(e) ((edge_struct *)((e)&0xfffffffcu))->data[(e)&3]
#define DDATA(e) ((edge_struct *)((e)&0xfffffffcu))->data[((e)+2)&3]