Skip to content

Commit

Permalink
webos.inc: grpc don't use -Werror=return-type
Browse files Browse the repository at this point in the history
:Release Notes:
Work around build issue.

:Detailed Notes:
grpc/1.45.0-r0/git/src/core/lib/transport/metadata_batch.h: In static member function 'static std::string grpc_core::GrpcStreamNetworkState::DisplayValue(grpc_core::GrpcStreamNetworkState::ValueType)':
grpc/1.45.0-r0/git/src/core/lib/transport/metadata_batch.h:533:3: error: control reaches end of non-void function [-Werror=return-type]
introduced in 1.45.0 version in:
https://git.openembedded.org/meta-openembedded/commit/?id=df5b764f99dbb19048ebef9d6b85e4d3625b4272
grpc/grpc@9454ab0#diff-78e2a4b53390e4455f4e90b043d1bb887686ffa1323968ccf161422298c543c9R514

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[WRN-9820] Create GPVB with Yocto 3.5 Kirkstone
  • Loading branch information
shr-project committed Sep 1, 2022
1 parent f3c20cf commit b222606
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meta-webos/conf/distro/include/webos.inc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ EXTRA_WEBOS_WERROR:pn-mtools = ""
# https://git.openembedded.org/meta-openembedded/commit/?id=912be5179c9e65fa33e9ca98c7f82d32ba31e827
# http://gecko.lge.com/Errors/Details/192773
EXTRA_WEBOS_WERROR:pn-rocksdb = ""
# grpc/1.45.0-r0/git/src/core/lib/transport/metadata_batch.h: In static member function 'static std::string grpc_core::GrpcStreamNetworkState::DisplayValue(grpc_core::GrpcStreamNetworkState::ValueType)':
# grpc/1.45.0-r0/git/src/core/lib/transport/metadata_batch.h:533:3: error: control reaches end of non-void function [-Werror=return-type]
# introduced in 1.45.0 version in:
# https://git.openembedded.org/meta-openembedded/commit/?id=df5b764f99dbb19048ebef9d6b85e4d3625b4272
# https://github.com/grpc/grpc/commit/9454ab091243b0539ac9ba578e9ae9d5de5d26f0#diff-78e2a4b53390e4455f4e90b043d1bb887686ffa1323968ccf161422298c543c9R514
EXTRA_WEBOS_WERROR:pn-grpc = ""

TARGET_CC_ARCH:append = " ${EXTRA_WEBOS_WERROR}"

Expand Down

0 comments on commit b222606

Please sign in to comment.