vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:33:2: note: in expansion of macro 'fp'
33 | fp(i,0,h){
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:35:3: note: in expansion of macro 'fp'
35 | fp(j,0,w)
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:42:2: note: in expansion of macro 'fp'
42 | fp(j,0,w){
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:44:3: note: in expansion of macro 'fp'
44 | fp(i,0,h)
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:55:2: note: in expansion of macro 'fp'
55 | fp(i,1,h)
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:57:2: note: in expansion of macro 'fp'
57 | fp(i,1,w)
| ^~