Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a compile error #10775

Merged
merged 2 commits into from
May 21, 2018
Merged

Fix a compile error #10775

merged 2 commits into from
May 21, 2018

Conversation

panyx0718
Copy link
Contributor

@panyx0718 panyx0718 commented May 18, 2018

n file included from /root/build2/third_party/install/grpc/include/grpc++/impl/codegen/byte_buffer.h:25:0,
from /root/build2/third_party/install/grpc/include/grpc++/impl/codegen/call.h:28,
from /root/build2/third_party/install/grpc/include/grpc++/impl/codegen/async_stream.h:22,
from /root/build2/third_party/install/grpc/include/grpc++/support/async_stream.h:22,
from /root/build2/third_party/install/grpc/include/grpc++/generic/generic_stub.h:22,
from /root/Paddle/paddle/fluid/operators/detail/grpc_client.h:27,
from /root/Paddle/paddle/fluid/operators/test_send_nccl_id.cc:23:
/root/build2/third_party/install/grpc/include/grpc++/impl/codegen/core_codegen_interface.h:41:7: error: 'class grpc::CoreCodegenInterface' has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class CoreCodegenInterface {
^
In file included from /root/build2/third_party/install/grpc/include/grpc++/channel.h:27:0,
from /root/build2/third_party/install/grpc/include/grpc++/grpc++.h:52,
from /root/Paddle/paddle/fluid/operators/detail/grpc_client.h:28,
from /root/Paddle/paddle/fluid/operators/test_send_nccl_id.cc:23:
/root/build2/third_party/install/grpc/include/grpc++/impl/codegen/grpc_library.h:26:7: error: 'class grpc::GrpcLibraryInterface' has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class GrpcLibraryInterface {

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.

Thanks!

@panyx0718 panyx0718 merged commit e526dd5 into PaddlePaddle:develop May 21, 2018
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