Skip to content
Snippets Groups Projects
Commit d915c6e2 authored by Muxi Yan's avatar Muxi Yan
Browse files

Suppress warning in all libraries whose names starting with gRPC-Core

parent b9be58ee
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ post_install do |installer| ...@@ -82,7 +82,7 @@ post_install do |installer|
target.build_configurations.each do |config| target.build_configurations.each do |config|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'YES' config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'YES'
end end
if target.name == 'gRPC-Core' or target.name == 'gRPC-Core.default-Cronet-Implementation-Cronet-Interface-Tests' or target.name == 'gRPC-Core.default-Cronet-Implementation' if target.name.start_with?('gRPC-Core')
target.build_configurations.each do |config| target.build_configurations.each do |config|
# TODO(zyc): Remove this setting after the issue is resolved # TODO(zyc): Remove this setting after the issue is resolved
# GPR_UNREACHABLE_CODE causes "Control may reach end of non-void # GPR_UNREACHABLE_CODE causes "Control may reach end of non-void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment