View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000122VTK(No Category)public2003-07-31 23:072004-02-03 14:29
ReporterAndrew Maclean 
Assigned ToBrad King 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000122: interaction between '_setjmp' and C++ object destruction is non-portable
DescriptionVC .NET2003
In:
\VTK\IO\vtkPNGWriter.cxx(222)
\VTK\IO\vtkJPEGWriter.cxx(231)
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0000616)
Brad King (developer)
2004-02-03 14:29

The png and jpeg libraries specify in their error handling interface that the error reporting functions are not allowed to return. Therefore these functions must use longjmp. The code that uses setjmp/longjmp, while in a C++ file, has been carefully written to avoid constructor/destructor problems. There is a pragma used to disable warning 4611 in Visual Studio unless VTK_DISPLAY_WIN32_WARNINGS is defined during the build.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team