View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015358 | VTK | (No Category) | public | 2015-03-04 09:43 | 2015-03-13 15:20 | ||||
Reporter | Guillaume Jacquenot | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.2.0 | ||||||||
Target Version | Fixed in Version | 6.3.0 | |||||||
Summary | 0015358: VTK 6.2.0: MinGW64 compilation bug on Windows7 error in vtkWin32VideoSource::Initialize() call | ||||||||
Description | With the new version 6.2.0, I encounter a compilation bug with MinGW 64 bits G++ 4.9.2 in method Initialize of class vtkWin32VideoSource Here is the compilation error [ 92%] Building CXX object IO/Video/CMakeFiles/vtkIOVideo.dir/vtkWin32VideoSource.cxx.obj In file included from d:/VTK-6.2.0/IO/Video/vtkWin32VideoSource.cxx:31:0: d:/VTK-6.2.0/IO/Video/vtkWin32VideoSource.cxx: In member function 'virtual void vtkWin32VideoSource::Initialize()': d:/VTK-6.2.0/IO/Video/vtkWin32VideoSource.cxx:352:52: error: cast from 'vtkWin32VideoSource*' to 'long int' loses precision [-fpermissive] if (!capSetUserData(this->Internal->CapWnd,(long)this)) ^ make[2]: *** [IO/Video/CMakeFiles/vtkIOVideo.dir/vtkWin32VideoSource.cxx.obj] Error 1 make[1]: *** [IO/Video/CMakeFiles/vtkIOVideo.dir/all] Error 2 make: *** [all] Error 2 I fixed it by removing the cast - if (!capSetUserData(this->Internal->CapWnd,(long)this)) + if (!capSetUserData(this->Internal->CapWnd,this)) This is similar to bug 0014292 | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034301) David Gobbi (developer) 2015-03-13 09:08 |
http://review.source.kitware.com/19492 [^] |
(0034303) David Gobbi (developer) 2015-03-13 15:20 |
Patch has been merged. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-04 09:43 | Guillaume Jacquenot | New Issue | |
2015-03-13 08:57 | David Gobbi | Assigned To | => David Gobbi |
2015-03-13 09:08 | David Gobbi | Note Added: 0034301 | |
2015-03-13 09:08 | David Gobbi | Status | backlog => gerrit review |
2015-03-13 15:20 | David Gobbi | Product Version | => 6.2.0 |
2015-03-13 15:20 | David Gobbi | Fixed in Version | => 6.3.0 |
2015-03-13 15:20 | David Gobbi | Note Added: 0034303 | |
2015-03-13 15:20 | David Gobbi | Status | gerrit review => closed |
2015-03-13 15:20 | David Gobbi | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |