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 build activation_op.cc on mac #10116

Merged

Conversation

jacquesqiao
Copy link
Member

The latest code build failed on MacOS.

/Users/qiaolongfei/project/paddle/paddle/fluid/operators/activation_op.cc:84:16: error: unused variable 'LogSigmoidDoc' [-Werror,-Wunused-const-variable]
constexpr char LogSigmoidDoc[] = R"DOC(
               ^
/Users/qiaolongfei/project/paddle/paddle/fluid/operators/activation_op.cc:91:16: error: unused variable 'ExpDoc' [-Werror,-Wunused-const-variable]
constexpr char ExpDoc[] = R"DOC(

Copy link
Contributor

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

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

Lgtm

@jacquesqiao jacquesqiao merged commit 3aacde2 into PaddlePaddle:develop Apr 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.

None yet

2 participants