cmp.cpp: In function 'int compare(int)':
cmp.cpp:32:28: error: void value not ignored as it ought to be
32 | int f = bit_set(cur);
| ~~~~~~~^~~~~
cmp.cpp:38:28: error: void value not ignored as it ought to be
38 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:39:28: error: void value not ignored as it ought to be
39 | int y = bit_set(i-1);
| ~~~~~~~^~~~~
cmp.cpp:46:28: error: void value not ignored as it ought to be
46 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:47:28: error: void value not ignored as it ought to be
47 | int y = bit_set(i-1);
| ~~~~~~~^~~~~
cmp.cpp:53:24: error: void value not ignored as it ought to be
53 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:54:24: error: void value not ignored as it ought to be
54 | int y = bit_set(i-1);
| ~~~~~~~^~~~~