diff --git a/raster/r.in.pdal/grasslidarfilter.h b/raster/r.in.pdal/grasslidarfilter.h index d6a1a5b9b42..4173fbe0479 100644 --- a/raster/r.in.pdal/grasslidarfilter.h +++ b/raster/r.in.pdal/grasslidarfilter.h @@ -27,6 +27,7 @@ extern "C" { #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunknown-pragmas" #endif #include #include diff --git a/raster/r.in.pdal/info.h b/raster/r.in.pdal/info.h index 4d6492313d1..7f8d0138ab1 100644 --- a/raster/r.in.pdal/info.h +++ b/raster/r.in.pdal/info.h @@ -16,6 +16,7 @@ #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunknown-pragmas" #endif #include #include diff --git a/raster/r.in.pdal/main.cpp b/raster/r.in.pdal/main.cpp index 04bb3d6a4a4..426d72011e0 100644 --- a/raster/r.in.pdal/main.cpp +++ b/raster/r.in.pdal/main.cpp @@ -20,6 +20,7 @@ #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunknown-pragmas" #endif #include #include diff --git a/vector/v.in.pdal/main.cpp b/vector/v.in.pdal/main.cpp index 58f86ca995d..832774a4c32 100644 --- a/vector/v.in.pdal/main.cpp +++ b/vector/v.in.pdal/main.cpp @@ -17,6 +17,7 @@ #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunknown-pragmas" #endif #include #include