Преглед на файлове

Merge pull request #14620 from Michael-Gardner/HPCC-25402

HPCC-25402 Fix compiler issues with cassandraembed and eclagent on Ubuntu 20.10

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman преди 4 години
родител
ревизия
6f49898b25
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      plugins/cassandra/CMakeLists.txt

+ 1 - 1
plugins/cassandra/CMakeLists.txt

@@ -67,7 +67,7 @@ if(USE_CASSANDRA)
   # From time to time need to add flags in here to disable warnings, if a new compiler picks up something new.
   # e.g.
     if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.2.0)
-      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-copy")
+      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-copy -Wno-deprecated-declarations")
     endif ()
   endif()
   if (CMAKE_COMPILER_IS_CLANG)