Skip to content

Commit 73a2a29

Browse files
authored
impl: warn but do not error on deprecated proto types (#14855)
1 parent 9424345 commit 73a2a29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/GoogleCloudCppCommonOptions.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,7 @@ function (google_cloud_cpp_add_common_options target)
105105
if (GOOGLE_CLOUD_CPP_COMPILER_SUPPORTS_WERROR
106106
AND GOOGLE_CLOUD_CPP_ENABLE_WERROR)
107107
target_compile_options(${target} PRIVATE "-Werror")
108+
target_compile_options(${target}
109+
PRIVATE "-Wno-error=deprecated-declarations")
108110
endif ()
109111
endfunction ()

0 commit comments

Comments
 (0)