warning for fill_op.cc and parallel_do_op.cc
Created by: luotao1
- warning for
fill_op.cc
: https://travis-ci.org/PaddlePaddle/Paddle/jobs/340020477#L3533
In file included from /usr/include/boost/variant.hpp:17:0,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/platform/variant.h:47,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/type_defs.h:23,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/attribute.h:24,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/op_registry.h:25,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/fill_op.cc:16:
/usr/include/boost/variant/variant.hpp: In instantiation of ‘boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::variant(T&&, typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type*) [with T = const boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace>; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type = void]’:
/home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/fill_op.cc:55:40: required from here
/usr/include/boost/variant/variant.hpp:1677:10: note: candidate 1: void boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::convert_construct(const boost::variant<U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>&, long int) [with U0 = paddle::platform::CUDAPlace; U1 = paddle::platform::CPUPlace; U2 = boost::detail::variant::void_; U3 = boost::detail::variant::void_; U4 = boost::detail::variant::void_; U5 = boost::detail::variant::void_; U6 = boost::detail::variant::void_; U7 = boost::detail::variant::void_; U8 = boost::detail::variant::void_; U9 = boost::detail::variant::void_; U10 = boost::detail::variant::void_; U11 = boost::detail::variant::void_; U12 = boost::detail::variant::void_; U13 = boost::detail::variant::void_; U14 = boost::detail::variant::void_; U15 = boost::detail::variant::void_; U16 = boost::detail::variant::void_; U17 = boost::detail::variant::void_; U18 = boost::detail::variant::void_; U19 = boost::detail::variant::void_; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_]
void convert_construct(
^
In file included from /usr/include/boost/variant.hpp:17:0,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/platform/variant.h:47,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/type_defs.h:23,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/attribute.h:24,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/op_registry.h:25,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/fill_op.cc:16:
/usr/include/boost/variant/variant.hpp:1563:71: note: candidate 2: typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::convert_construct(T&&, int, mpl_::false_) [with T = const boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace>; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type = void; mpl_::false_ = mpl_::bool_<false>]
typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type convert_construct(
- warning for
parallel_do_op.cc
: https://travis-ci.org/PaddlePaddle/Paddle/jobs/340020477#L3660
In file included from /usr/include/boost/variant.hpp:17:0,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/platform/variant.h:47,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/type_defs.h:23,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/attribute.h:24,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/op_info.h:21,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/executor.h:17,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/parallel_do_op.cc:17:
/usr/include/boost/variant/variant.hpp: In instantiation of ‘boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::variant(T&&, typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type*) [with T = const boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace>; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type = void]’:
/home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/parallel_do_op.cc:159:78: required from here
/usr/include/boost/variant/variant.hpp:1677:10: note: candidate 1: void boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::convert_construct(const boost::variant<U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19>&, long int) [with U0 = paddle::platform::CUDAPlace; U1 = paddle::platform::CPUPlace; U2 = boost::detail::variant::void_; U3 = boost::detail::variant::void_; U4 = boost::detail::variant::void_; U5 = boost::detail::variant::void_; U6 = boost::detail::variant::void_; U7 = boost::detail::variant::void_; U8 = boost::detail::variant::void_; U9 = boost::detail::variant::void_; U10 = boost::detail::variant::void_; U11 = boost::detail::variant::void_; U12 = boost::detail::variant::void_; U13 = boost::detail::variant::void_; U14 = boost::detail::variant::void_; U15 = boost::detail::variant::void_; U16 = boost::detail::variant::void_; U17 = boost::detail::variant::void_; U18 = boost::detail::variant::void_; U19 = boost::detail::variant::void_; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_]
void convert_construct(
^
In file included from /usr/include/boost/variant.hpp:17:0,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/platform/variant.h:47,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/type_defs.h:23,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/attribute.h:24,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/op_info.h:21,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/framework/executor.h:17,
from /home/travis/build/PaddlePaddle/Paddle/paddle/fluid/operators/parallel_do_op.cc:17:
/usr/include/boost/variant/variant.hpp:1563:71: note: candidate 2: typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::convert_construct(T&&, int, mpl_::false_) [with T = const boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace>; T0_ = paddle::platform::CUDAPlace; T1 = paddle::platform::CPUPlace; T2 = boost::detail::variant::void_; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type = void; mpl_::false_ = mpl_::bool_<false>]
typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type convert_construct(