Skip to content

Comments

Fix grpc compile warning#6050

Merged
typhoonzero merged 3 commits intoPaddlePaddle:developfrom
Yancey0623:fix_grpc_compile_wran
Dec 1, 2017
Merged

Fix grpc compile warning#6050
typhoonzero merged 3 commits intoPaddlePaddle:developfrom
Yancey0623:fix_grpc_compile_wran

Conversation

@Yancey0623
Copy link
Contributor

Fixed #6032

@@ -1 +1,5 @@
grpc_library(sendrecvop_grpc SRCS recv_impl.cc send_impl.cc PROTO send_recv.proto DEPS lod_tensor selected_rows)
set_source_files_properties(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put these lines in the function grpc_library? This is only needed for the grpc dependencies.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete these lines and add flag -Wno-non-virtual-dtor in send/recv prpoerties.

Copy link
Contributor

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM++

@typhoonzero typhoonzero merged commit 1b612d3 into PaddlePaddle:develop Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants