vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:11:13: warning: unused variable 'val' [-Wunused-variable]
11 | int val = add_xor(v);
| ^~~
vision.cpp:18:13: warning: unused variable 'val' [-Wunused-variable]
18 | int val = add_xor(v);
| ^~~
vision.cpp:25:13: warning: unused variable 'val' [-Wunused-variable]
25 | int val = add_xor(v);
| ^~~
vision.cpp:32:13: warning: unused variable 'val' [-Wunused-variable]
32 | int val = add_xor(v);
| ^~~
vision.cpp:44:31: error: could not convert 'val' from 'int' to 'std::vector<int>'
44 | int val = add_and(val);
| ^~~
| |
| int
vision.cpp:56:9: error: redeclaration of 'int val'
56 | int val = add_and(nbits);
| ^~~
vision.cpp:35:9: note: 'int val' previously declared here
35 | int val = add_not(init);
| ^~~