Warning in make process
Created by: gongweibao
2228 Scanning dependencies of target split_ids_op
2229 [ 97%] Building CXX object paddle/fluid/operators/CMakeFiles/split_ids_op.dir/split_ids_op.cc.o
2230 In file included from /paddle/paddle/fluid/operators/split_ids_op.cc:15:0:
2231 /paddle/paddle/fluid/operators/split_ids_op.h: In instantiation of ‘void paddle::operators::SplitIdsOpKernel<DeviceContext, T >::Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CPUPlace; T = long int]’ :
2232 /paddle/paddle/fluid/operators/split_ids_op.cc:76:75: required from here
2233 /paddle/paddle/fluid/operators/split_ids_op.h:45:26: warning: comparison between signed and unsigned integer expressions [-Ws ign-compare]
2234 for (size_t i = 0; i < ids_dims[0]; ++i) {
558 cpplint: Checking source code style
559 In file included from /paddle/paddle/fluid/framework/data_type.h:18:0,
560 from /paddle/paddle/fluid/operators/detail/variable_response.h:17,
561 from /paddle/paddle/fluid/operators/detail/variable_response.cc:15:
562 /paddle/paddle/fluid/operators/detail/variable_response.cc: In member function ‘bool paddle::operators::detail::VariableRespo nse::CopySelectRowsTensorData(google::protobuf::io::CodedInputStream*, const paddle::platform::DeviceContext&, paddle::framew ork::DDim&, int)’:
563 /paddle/paddle/fluid/platform/enforce.h:227:43: warning: comparison between signed and unsigned integer expressions [-Wsign-c ompare]
564 __PADDLE_BINARY_COMPARE(__VAL0, __VAL1, ==, !=, __VA_ARGS__)
565 ^
566 /paddle/paddle/fluid/platform/enforce.h:108:64: note: in definition of macro ‘UNLIKELY’
567 #define UNLIKELY(condition) __builtin_expect(static_cast<bool>(condition), 0)
568 ^
569 /paddle/paddle/fluid/platform/enforce.h:227:3: note: in expansion of macro ‘__PADDLE_BINARY_COMPARE’
570 __PADDLE_BINARY_COMPARE(__VAL0, __VAL1, ==, !=, __VA_ARGS__)
571 ^
572 /paddle/paddle/fluid/operators/detail/variable_response.cc:153:3: note: in expansion of macro ‘PADDLE_ENFORCE_EQ’
573 PADDLE_ENFORCE_EQ(
574 ^
575 Done processing math_function.cc
576 Done processing math_function.cu
577 Done processing /paddle/paddle/fluid/operators/math/math_function.h
1234 /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of ‘void paddle::operators::LoDResetKernel<DeviceContext, T>: :Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = lon g int]’:
1235 /tmp/tmpxft_00000743_00000000-4_lod_reset_op.compute_61.cudafe1.stub.c:12:27: required from here
1236 /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Ws ign-compare]
1237 /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of ‘void paddle::operators::LoDResetKernel<DeviceContext, T>: :Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = int ]’:
1238 /tmp/tmpxft_00000743_00000000-4_lod_reset_op.compute_61.cudafe1.stub.c:12:27: required from here
1239 /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Ws ign-compare]
1240 /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of ‘void paddle::operators::LoDResetKernel<DeviceContext, T>: :Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = dou ble]’:
1241 /tmp/tmpxft_00000743_00000000-4_lod_reset_op.compute_61.cudafe1.stub.c:12:27: required from here
1242 /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Ws ign-compare]
1243 /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of ‘void paddle::operators::LoDResetKernel<DeviceContext, T>: :Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = flo at]’:
1244 /tmp/tmpxft_00000743_00000000-4_lod_reset_op.compute_61.cudafe1.stub.c:12:27: required from here
1245 /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Ws ign-compare]