Visual Studio 2015 Compilation Errors
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hello,
I am trying to compile VTK 6.2.0 on Visual Studio 2015 RC.
I have made the following observations: I get the following error: Severity Code Description Project File Line Error C2065 'timezone': undeclared identifier vtkhdf5 G:\Toolkits\VTK\VTK-6.2.0\ThirdParty\hdf5\vtkhdf5\src\H5Omtime.c 226
From \H5Omtime.c
#elif defined(H5_HAVE_TIMEZONE) /* Linux libc-5 */ the_time -= timezone - (tm.tm_isdst?3600:0);
CMAKE defines in H5pubconf.h /* Define if `timezone' is a global variable */ #define H5_HAVE_TIMEZONE 1
According to https://msdn.microsoft.com/en-us/library/htb3tdkc.aspx _get_timezone() should be used.