Переглянути джерело

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)