macOS: suppress some warnings
This commit is contained in:
@@ -20,6 +20,12 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// Suppress warning due to use of #import an macOS inside Aspect_RenderingContext.hxx
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wimport-preprocessor-directive-pedantic"
|
||||
#endif
|
||||
|
||||
#include <Standard_Stream.hxx>
|
||||
|
||||
#include <GEOMUtils.hxx>
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// Suppress warning due to use of #import an macOS inside Aspect_RenderingContext.hxx
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wimport-preprocessor-directive-pedantic"
|
||||
#endif
|
||||
|
||||
// File : SMESH_Mesh.cxx
|
||||
// Author : Paul RASCLE, EDF
|
||||
// Module : SMESH
|
||||
|
||||
@@ -22,6 +22,13 @@
|
||||
// File : StdMeshers_Cartesian_3D.cxx
|
||||
// Module : SMESH
|
||||
//
|
||||
|
||||
// Suppress warning due to use of #import an macOS inside Aspect_RenderingContext.hxx
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wimport-preprocessor-directive-pedantic"
|
||||
#endif
|
||||
|
||||
#include "StdMeshers_Cartesian_3D.hxx"
|
||||
|
||||
#include "SMDS_MeshNode.hxx"
|
||||
|
||||
@@ -36,6 +36,12 @@ With special thanks to marcxs for making the first steps
|
||||
#include "GuiApplicationNativeEventAware.h"
|
||||
#include <Base/Console.h>
|
||||
|
||||
// Suppress warnings to kConnexionMsgDeviceState and tdxAppID
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wfour-char-constants"
|
||||
#endif
|
||||
|
||||
UInt16 Gui::GuiNativeEvent::tdxClientID = 0;
|
||||
uint32_t Gui::GuiNativeEvent::lastButtons = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user