registers.cpp: In function 'void minimum(int, int, int)':
registers.cpp:8:20: error: could not convert 'zera' from 'vector<int>' to 'vector<bool>'
8 | append_store(t,zera);
| ^~~~
| |
| vector<int>
registers.cpp:10:18: error: too few arguments to function 'void append_not(int, int)'
10 | append_not(98);
| ^
In file included from registers.cpp:2:
registers.h:8:6: note: declared here
8 | void append_not(int t, int x);
| ^~~~~~~~~~
registers.cpp:14:18: error: too few arguments to function 'void append_not(int, int)'
14 | append_not(98);
| ^
In file included from registers.cpp:2:
registers.h:8:6: note: declared here
8 | void append_not(int t, int x);
| ^~~~~~~~~~
registers.cpp: In function 'void construct_instructions(int, int, int, int)':
registers.cpp:32:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(i<4);
| ^~
registers.cpp:33:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
33 | jeden4[i]++;
| ^~~~~~
registers.cpp:36:20: error: too few arguments to function 'void append_left(int, int, int)'
36 | append_left(1,k);
| ^
In file included from registers.cpp:2:
registers.h:9:6: note: declared here
9 | void append_left(int t, int x, int s);
| ^~~~~~~~~~~
registers.cpp:37:20: error: could not convert 'jeden4' from 'vector<int>' to 'vector<bool>'
37 | append_store(2,jeden4);
| ^~~~~~
| |
| vector<int>