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

Re: [MiNT] GCC question



Hi Peter,

----- "Peter Slegg" <p.slegg@scubadivers.co.uk> a écrit :
> http://gcc.gnu.org/onlinedocs/cpp/Misnesting.html
> 
> Does this suggest that my error shouldn't happen ?

The first example suggest that the outter macro is evaluated first. So the error is expected.

You could use something like the following instead :
#define my_objc_draw(tree, start) objc_draw(tree, start, tree[0].ob_x-3,tree[0].ob_y-3,tree[0].ob_width+6,tree[0].ob_height+6)
.
.
my_objc_draw(dlog, start);

Regards,

Xavier