[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] GCC question



Can someone enlighten me ?

#define TREE_XYWH(tree) tree[0].ob_x-3,tree[0].ob_y-3,tree[0].ob_width+6,tree[0].ob_height+6
.
.
objc_draw(dlog, start, MAX_DEPTH, TREE_XYWH(dlog));

I thought that the macro above would be inserted into the second line
before it was compiled but I am getting this error.

newsaes.c:651:52: error: macro "objc_draw" requires 7 arguments, but only 4 given

Peter