cmp.cpp: In function 'int compare(int)':
cmp.cpp:34:28: error: void value not ignored as it ought to be
34 | int f = bit_set(cur);
| ~~~~~~~^~~~~
cmp.cpp:40:28: error: void value not ignored as it ought to be
40 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:41:28: error: void value not ignored as it ought to be
41 | int y = bit_set(i-1);
| ~~~~~~~^~~~~
cmp.cpp:48:28: error: void value not ignored as it ought to be
48 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:49:28: error: void value not ignored as it ought to be
49 | int y = bit_set(i-1);
| ~~~~~~~^~~~~
cmp.cpp:55:24: error: void value not ignored as it ought to be
55 | int x = bit_set(i);
| ~~~~~~~^~~
cmp.cpp:56:24: error: void value not ignored as it ought to be
56 | int y = bit_set(i-1);
| ~~~~~~~^~~~~