compile error on mac with develop branch code
Created by: hilohg
/Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/ConvOp.h:76:8: error: 'paddle::ConvFunctionBase::check' hides overloaded virtual function [-Werror,-Woverloaded-virtual] void check(const TensorShape& input, ^ /Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/Function.h:177:16: note: hidden overloaded virtual function 'paddle::FunctionBase::check' declared here: different number of parameters (2 vs 3) virtual void check(const BufferArgs& inputs, const BufferArgs& outputs) {} ^ In file included from /Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/GemmConvOp.cpp:15: In file included from /Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/GemmConvOp.h:17: /Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/ConvOp.h:71:16: error: 'calc' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] virtual void calc(const BufferArgs& inputs, const BufferArgs& outputs) {} ^ /Users/xingzhaolong/hg/paddle_project/paddle_me/paddle/function/Function.h:171:16: note: overridden virtual function is here virtual void calc(const BufferArgs& inputs, const BufferArgs& outputs) {} ^ 2 errors generated. make[2]: *** [paddle/function/CMakeFiles/paddle_function.dir/GemmConvOp.cpp.o] Error 1 make[1]: *** [paddle/function/CMakeFiles/paddle_function.dir/all] Error 2 make: *** [all] Error 2