Can't compile but error seems unrelated to changes I made [Solved]

So I made some changes In a few files to try and make a new flag that reduces sight to 1 when on tile. And I get this error in catabindings.cpp (cf. pic) when I try to compile. But I didn’t change anything in it. It seems map related so I try to remove any map related related things I did but it doesn’t change anything.

Pic related

I’m kind of lost as to what it means and how either solve it or investigate it further.

EDIT : I figured it out, just needed to re-generate catabindings.cpp