Compiler output
prog.cpp: In function 'int main()':
prog.cpp:43:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (sav>zeros(x))
^
prog.cpp:2:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
prog.cpp:43:17: note: in expansion of macro 'zeros'
if (sav>zeros(x))
^
prog.cpp:2:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
prog.cpp:45:19: note: in expansion of macro 'zeros'
aux = zeros(x);
^