View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015534 | VTK | (No Category) | public | 2015-06-11 12:52 | 2016-07-06 11:19 | ||||
Reporter | dkuegler | ||||||||
Assigned To | Sean McBride | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.0.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015534: Visual Studio 2015 Compilation Errors | ||||||||
Description | 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. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0034539) dkuegler (reporter) 2015-06-11 14:49 |
H5_HAVE_TIMEZONE should not be defined. Instead lines 236 to 245 should be used, as HDgettimeofsay seems ti be bound to a Wgettimeofday, which gets defined in H5win32defs.h so instead H5_HAVE_STRUCT_TIMEZONE, H5_HAVE_GETTIMEOFDAY and H5_GETTIMEOFDAY_GIVES_TZ should possibly be defined for Visual Studio 2015 RC. |
(0034540) dkuegler (reporter) 2015-06-11 15:32 |
For some reason timezone gets defined in time.h on line 275 for Visual Studio 2012, but not for Visual Studio 2015. So I assume, H5_HAVE_TIMEZONE should have been undefined for Windows all along. Due to it being defined in time.h, it never caused any problems. |
(0034689) dkuegler (reporter) 2015-07-08 05:48 |
See https://gitlab.kitware.com/vtk/vtk/merge_requests/311 [^] |
(0036176) Sean McBride (developer) 2016-07-06 11:19 |
Looks like this was fixed by: https://gitlab.kitware.com/vtk/vtk/merge_requests/446 [^] Please reopen if still an issue. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-06-11 12:52 | dkuegler | New Issue | |
2015-06-11 14:49 | dkuegler | Note Added: 0034539 | |
2015-06-11 15:32 | dkuegler | Note Added: 0034540 | |
2015-07-08 05:48 | dkuegler | Note Added: 0034689 | |
2015-08-28 08:28 | T.J. Corona | Relationship added | related to 0015535 |
2016-07-06 11:19 | Sean McBride | Note Added: 0036176 | |
2016-07-06 11:19 | Sean McBride | Status | backlog => closed |
2016-07-06 11:19 | Sean McBride | Assigned To | => Sean McBride |
2016-07-06 11:19 | Sean McBride | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |