Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 5 years ago

Language

C++

Compiler

gcc HEAD 10.0.1 20200322 (experimental)

Options
Warnings
Boost 1.72.0
C++2a(GNU)
no pedantic

Author

anonymous

about 5 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-head/include -std=gnu++2a
In file included from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/detail/make_expr_.hpp:3,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/make_expr.hpp:100,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/fusion.hpp:31,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/core.hpp:21,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/proto.hpp:12,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/support/meta_compiler.hpp:19,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/meta_compiler.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/action/action.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/action.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/include/qi.hpp:16,
                 from prog.cc:5:
/opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/detail/preprocessed/make_expr_.hpp: In instantiation of 'boost::proto::detail::make_expr_<Tag, Domain, A0, A1, void, void, void, void, void, void, void, void, void>::result_type boost::proto::detail::make_expr_<Tag, Domain, A0, A1, void, void, void, void, void, void, void, void, void>::operator()(typename boost::add_reference<A0>::type, typename boost::add_reference<A1>::type) const [with Tag = boost::proto::tagns_::tag::shift_right; Domain = boost::proto::domainns_::default_domain; A0 = const boost::spirit::terminal<boost::spirit::tag::double_>&; A1 = const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&; boost::proto::detail::make_expr_<Tag, Domain, A0, A1, void, void, void, void, void, void, void, void, void>::result_type = boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_right, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::double_>&, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&>, 2>; typename boost::add_reference<A0>::type = const boost::spirit::terminal<boost::spirit::tag::double_>&; typename boost::add_reference<A1>::type = const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&]':
/opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/operators.hpp:295:9:   required from 'const typename boost::proto::detail::enable_binary<boost::proto::domainns_::deduce_domain, boost::proto::detail::not_a_grammar, boost::mpl::or_<boost::proto::is_extension<Arg>, boost::proto::is_extension<Right> >, boost::proto::tagns_::tag::shift_right, const Left&, const Right&>::type boost::proto::exprns_::operator>>(Left&&, Right&&) [with Left = const boost::spirit::terminal<boost::spirit::tag::double_>&; Right = const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&; typename boost::proto::detail::enable_binary<boost::proto::domainns_::deduce_domain, boost::proto::detail::not_a_grammar, boost::mpl::or_<boost::proto::is_extension<Arg>, boost::proto::is_extension<Right> >, boost::proto::tagns_::tag::shift_right, const Left&, const Right&>::type = boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_right, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::double_>&, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&>, 2>]'
prog.cc:23:65:   required from here
/opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/detail/preprocessed/make_expr_.hpp:80:42: warning: implicitly-declared 'constexpr boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_right, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::double_>&, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&>, 2>::expr(const boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_right, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::double_>&, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&>, 2>&)' is deprecated [-Wdeprecated-copy]
   80 |             return proto_generator()(that);
      |                                          ^
In file included from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/detail/expr.hpp:4,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/expr.hpp:137,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/core.hpp:17,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/proto.hpp:12,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/support/meta_compiler.hpp:19,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/meta_compiler.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/action/action.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi/action.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/home/qi.hpp:14,
                 from /opt/wandbox/boost-1.72.0/gcc-head/include/boost/spirit/include/qi.hpp:16,
                 from prog.cc:5:
/opt/wandbox/boost-1.72.0/gcc-head/include/boost/proto/detail/preprocessed/expr_variadic.hpp:578:9: note: because 'boost::proto::exprns_::expr<boost::proto::tagns_::tag::shift_right, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::double_>&, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&>, 2>' has user-provided 'const boost::proto::exprns_::expr<boost::proto::tagns_::tag::assign, boost::proto::argsns_::list2<boost::proto::exprns_::expr<Tag, boost::proto::argsns_::list2<Arg0, Arg1>, 2>&, const boost::proto::exprns_::expr<Tag, boost::proto::argsns_::list2<Arg0, Arg1>, 2>&>, 2> boost::proto::exprns_::expr<Tag, boost::proto::argsns_::list2<Arg0, Arg1>, 2>::operator=(const boost::proto::exprns_::expr<Tag, boost::proto::argsns_::list2<Arg0, Arg1>, 2>&) [with Tag = boost::proto::tagns_::tag::shift_right; Arg0 = const boost::spirit::terminal<boost::spirit::tag::double_>&; Arg1 = const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::eoi>, 0>&]'
  578 |         operator =(expr const &a)
      |         ^~~~~~~~
"1" OK: ''
----
"23" OK: ''
----
"456" OK: '�'
----
"3.3" OK: ''
----
"34.35" OK: '"'
----
Exit Code:
0