An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 24b0f2aa authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

COMP: Remove funny warning

parent 156af2cb
......@@ -19,9 +19,16 @@
#include "vtkPointData.h"
#include "vtk_png.h"
vtkCxxRevisionMacro(vtkPNGReader, "1.22");
vtkCxxRevisionMacro(vtkPNGReader, "1.23");
#ifdef _MSC_VER
// Let us get rid of this funny warning on /W4:
// warning C4611: interaction between '_setjmp' and C++ object
// destruction is non-portable
#pragma warning( disable : 4611 )
void vtkPNGReader::ExecuteInformation()
......@@ -369,6 +376,10 @@ int vtkPNGReader::CanReadFile(const char* fname)
return 3;
#ifdef _MSC_VER
// Put the warning back
#pragma warning( default : 4611 )
void vtkPNGReader::PrintSelf(ostream& os, vtkIndent indent)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment