Error “Function “<unnamed::time_t>”” is not a type name in Visual Studio