> +#define compile_ffs2(__x) \ > + ( ((__x) & 0x1) ? 0 : 1 ) > + > +#define compile_ffs4(__x) \ > + ( ((__x) & 0x3) ? \ > + compile_ffs2(__x) : (compile_ffs2(__x >> 2) + 2) ) It seems you should also add parentheses around the __x used in the recursive macro invocation, like this: ... : (compile_ffs2((__x) >> 2) + 2) ) or am I missing something? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part