Trouble compiling

so first i had visual studios 2013, and i was getting a few errors. so i did some digging and found out i need to use visual studios 2015 mscv v140. so i downloaded and tried opening the solution. a lot of the errors went away. but ther are still fatal error that make it so i cant even compile it.

now my problem is this line below, in map.cpp. on line 4927

int sm_squares_seen[my_MAPSIZE][my_MAPSIZE];
i have the error

Error		IntelliSense: 'this' cannot be used in a constant expression

and also the error

on line 6580. with the error

Error		IntelliSense: expression must have a constant value

thanks if you know how to fix…