mars.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
mars.cpp:17:13: warning: unused variable 'totalsq' [-Wunused-variable]
17 | int totalsq = 4000*4000;
| ^~~~~~~
mars.cpp:18:13: warning: unused variable 'dx' [-Wunused-variable]
18 | int dx[6] = {0, 1, 1, 0, -1, -1};
| ^~
mars.cpp:19:13: warning: unused variable 'dy' [-Wunused-variable]
19 | int dy[6] = {2, 1 ,-1, -2, -1, 1};
| ^~
/usr/bin/ld: /tmp/ccIxaSon.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc9EMTWn.o:mars.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccIxaSon.o: in function `main':
stub.cpp:(.text.startup+0x793): undefined reference to `process(std::vector<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, int, int, int, int)'
collect2: error: ld returned 1 exit status