Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
24b0f2aa
Commit
24b0f2aa
authored
Feb 14, 2005
by
Mathieu Malaterre
Browse files
COMP: Remove funny warning
parent
156af2cb
Changes
1
Show whitespace changes
Inline
Side-by-side
IO/vtkPNGReader.cxx
View file @
24b0f2aa
...
@@ -19,9 +19,16 @@
...
@@ -19,9 +19,16 @@
#include "vtkPointData.h"
#include "vtkPointData.h"
#include "vtk_png.h"
#include "vtk_png.h"
vtkCxxRevisionMacro
(
vtkPNGReader
,
"1.2
2
"
);
vtkCxxRevisionMacro
(
vtkPNGReader
,
"1.2
3
"
);
vtkStandardNewMacro
(
vtkPNGReader
);
vtkStandardNewMacro
(
vtkPNGReader
);
#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 )
#endif
void
vtkPNGReader
::
ExecuteInformation
()
void
vtkPNGReader
::
ExecuteInformation
()
{
{
this
->
ComputeInternalFileName
(
this
->
DataExtent
[
4
]);
this
->
ComputeInternalFileName
(
this
->
DataExtent
[
4
]);
...
@@ -369,6 +376,10 @@ int vtkPNGReader::CanReadFile(const char* fname)
...
@@ -369,6 +376,10 @@ int vtkPNGReader::CanReadFile(const char* fname)
fclose
(
fp
);
fclose
(
fp
);
return
3
;
return
3
;
}
}
#ifdef _MSC_VER
// Put the warning back
#pragma warning( default : 4611 )
#endif
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
vtkPNGReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
void
vtkPNGReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment