redefined variable issues arduino IDE

S_Flex:
A global variable has a much wider scope then a local variable

Yes, it is a wider scope, but it isn't special.