From 65dc440f3c931b4f6281de4121493472b41b0b71 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 12 Oct 2022 19:43:39 +0200 Subject: [PATCH] COMP: silence clang -Wbitwise-instead-of-logical (triggered by boost/cgal) --- .../conformalVoronoiMesh/CGALTriangulation3DKernel.H | 1 + .../conformalVoronoiMesh/indexedCell/indexedCell.H | 1 + .../conformalVoronoiMesh/indexedVertex/indexedVertex.H | 1 + .../foamyMesh/foamyQuadMesh/CGALTriangulation2DKernel.H | 1 + .../mesh/generation/foamyMesh/foamyQuadMesh/indexedVertex.H | 1 + .../utilities/preProcessing/viewFactorsGen/viewFactorsGen.C | 1 + .../utilities/surface/surfaceBooleanFeatures/CGAL3DKernel.H | 1 + .../surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C | 1 + 8 files changed, 8 insertions(+) diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/CGALTriangulation3DKernel.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/CGALTriangulation3DKernel.H index c925db63bf..2795dff15b 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/CGALTriangulation3DKernel.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/CGALTriangulation3DKernel.H @@ -38,6 +38,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H index 1e2f011d51..8c0c4aa351 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H @@ -44,6 +44,7 @@ SourceFiles #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertex.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertex.H index 9eda658ae3..320144f3b3 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertex.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertex.H @@ -45,6 +45,7 @@ SourceFiles #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CGALTriangulation2DKernel.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CGALTriangulation2DKernel.H index 97e450eb35..76020cd226 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CGALTriangulation2DKernel.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CGALTriangulation2DKernel.H @@ -38,6 +38,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/indexedVertex.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/indexedVertex.H index 0cb062bb5a..70271e323e 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/indexedVertex.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/indexedVertex.H @@ -40,6 +40,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C index 3f9d82d808..b92b4a91e9 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C +++ b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C @@ -98,6 +98,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" #include #include diff --git a/applications/utilities/surface/surfaceBooleanFeatures/CGAL3DKernel.H b/applications/utilities/surface/surfaceBooleanFeatures/CGAL3DKernel.H index 635f52e7d3..36563e485f 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/CGAL3DKernel.H +++ b/applications/utilities/surface/surfaceBooleanFeatures/CGAL3DKernel.H @@ -40,6 +40,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // ------------------------------------------------------------------------- // diff --git a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C index 9d06ae89c2..e44dfd6fcb 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C +++ b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C @@ -94,6 +94,7 @@ Description #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) #define BOOST_BIND_GLOBAL_PLACEHOLDERS #endif +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" #include #include