When I write customized c++ layer ProposalTarget_v3, compile it, there is the following error:
src/operator/./proposal_target_v3-inl.h: In member function ‘void mxnet::op::ProposalTargetParam_v3::DECLARE(dmlc::parameter::ParamManagerSingletonmxnet::op::ProposalTargetParam_v3*)’:
/dl-build-source-mxnet/mxnet/3rdparty/dmlc-core/include/dmlc/parameter.h:268:40: error: expected ‘;’ before ‘this’
#define DMLC_DECLARE_FIELD(FieldName) this->DECLARE(manager, #FieldName, FieldName)
Any advice will be appreciated, thanks!