diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-29 18:47:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 18:47:22 +0100 |
commit | 1998595df63050d779e8f5e52b22962245fe1329 (patch) | |
tree | 7810c561828b58f56f0532c0bc11a5ccdb6ecbff | |
parent | 8a290241c2ba71a5316a2cae33a0776e26dfdd88 (diff) | |
parent | 8952b59a4e818d3088fcfabaceaec7f2f7a38c70 (diff) |
Merge pull request #25784 from vespa-engine/toregge/disable-deprecated-copy-with-user-provided-copy-warning-when-compiling-with-clang-15
Disable deprecated-copy-with-user-provided-copy warning option when
-rw-r--r-- | document/src/vespa/document/select/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/select/CMakeLists.txt b/document/src/vespa/document/select/CMakeLists.txt index 5dd274fdb91..f74e4a6abc9 100644 --- a/document/src/vespa/document/select/CMakeLists.txt +++ b/document/src/vespa/document/select/CMakeLists.txt @@ -49,7 +49,7 @@ set_source_files_properties(${FLEX_DocSelLexer_OUTPUTS} PROPERTIES COMPILE_FLAGS if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set_source_files_properties(${BISON_DocSelParser_OUTPUTS} PROPERTIES COMPILE_FLAGS -Wno-noexcept) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15.0) - set_source_files_properties(${BISON_DocSelParser_OUTPUTS} PROPERTIES COMPILE_OPTIONS "-Wno-unused-but-set-variable") + set_source_files_properties(${BISON_DocSelParser_OUTPUTS} PROPERTIES COMPILE_OPTIONS "-Wno-unused-but-set-variable;-Wno-deprecated-copy-with-user-provided-copy") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set_source_files_properties(${BISON_DocSelParser_OUTPUTS} PROPERTIES COMPILE_OPTIONS "-Wno-deprecated-copy-with-user-provided-copy") endif() |