Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #7363. Quieting compiler warnings on modern GCC.
- Loading branch information
Michael Reuter
committed
Oct 9, 2014
1 parent
27cae0c
commit f1a2a19
Showing
6 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Code/Mantid/Vates/ParaviewPlugins/ParaViewReaders/NexusPeaksReader/vtkNexusPeaksReader.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Code/Mantid/Vates/ParaviewPlugins/ParaViewReaders/PeaksReader/vtkPeaksReader.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Code/Mantid/Vates/VatesAPI/inc/MantidVatesAPI/vtkGlyph3D_Silent.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef VTKGLYPH3D_SILENT_H | ||
#define VTKGLYPH3D_SILENT_H | ||
|
||
#if defined(__GNUC__) && !(defined(__INTEL_COMPILER)) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) | ||
#pragma GCC diagnostic push | ||
#endif | ||
#pragma GCC diagnostic ignored "-Wconversion" | ||
#endif | ||
#include <vtkGlyph3D.h> | ||
#if defined(__GNUC__) && !(defined(__INTEL_COMPILER)) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) | ||
#pragma GCC diagnostic pop | ||
#endif | ||
#endif | ||
|
||
#endif // VTKGLYPH3D_SILENT_H |
17 changes: 17 additions & 0 deletions
17
Code/Mantid/Vates/VatesAPI/inc/MantidVatesAPI/vtkPolyDataAlgorithm_Silent.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef VTKPOLYDATAALGORITHM_SILENT_H | ||
#define VTKPOLYDATAALGORITHM_SILENT_H | ||
|
||
#if defined(__GNUC__) && !(defined(__INTEL_COMPILER)) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) | ||
#pragma GCC diagnostic push | ||
#endif | ||
#pragma GCC diagnostic ignored "-Wconversion" | ||
#endif | ||
#include <vtkPolyDataAlgorithm.h> | ||
#if defined(__GNUC__) && !(defined(__INTEL_COMPILER)) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 8 ) | ||
#pragma GCC diagnostic pop | ||
#endif | ||
#endif | ||
|
||
#endif // VTKPOLYDATAALGORITHM_SILENT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters