Преглед изворни кода

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)