Author
anonymous
about 4 years ago
Language
C++
Compiler
clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git d1a838babcc3360eb7e311006a4acd1eee61b8f2)
Options
Warnings
Optimization
Boost 1.73.0
C++2a(GNU)
no pedantic
Author
anonymous
about 4 years ago
$ clang++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2a
In file included from prog.cc:3:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/algorithm/string_regex.hpp:19:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/regex.hpp:31:
In file included from /opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/regex.hpp:70:
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_creator.hpp:52:4: warning: definition of implicit copy assignment operator for 'digraph<char>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
digraph(const digraph<charT>& d) : std::pair<charT, charT>(d.first, d.second){}
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_parser.hpp:1660:17: note: in implicit copy assignment operator for 'boost::re_detail_107300::digraph<char>' first required here
result = *m_position++;
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_parser.hpp:1596:31: note: in instantiation of member function 'boost::re_detail_107300::basic_regex_parser<char, boost::regex_traits<char>>::get_next_set_literal' requested here
digraph<charT> start_range(get_next_set_literal(char_set));
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_parser.hpp:1366:13: note: in instantiation of member function 'boost::re_detail_107300::basic_regex_parser<char, boost::regex_traits<char>>::parse_set_literal' requested here
parse_set_literal(char_set);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_parser.hpp:386:14: note: in instantiation of member function 'boost::re_detail_107300::basic_regex_parser<char, boost::regex_traits<char>>::parse_set' requested here
return parse_set();
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex_parser.hpp:155:62: note: in instantiation of member function 'boost::re_detail_107300::basic_regex_parser<char, boost::regex_traits<char>>::parse_extended' requested here
m_parser_proc = &basic_regex_parser<charT, traits>::parse_extended;
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex.hpp:222:14: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
parser.parse(arg_first, arg_last, f);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex.hpp:666:10: note: in instantiation of member function 'boost::re_detail_107300::basic_regex_implementation<char, boost::regex_traits<char>>::assign' requested here
temp->assign(p1, p2, f);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex.hpp:387:14: note: in instantiation of member function 'boost::basic_regex<char>::do_assign' requested here
return do_assign(p1, p2, f);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex.hpp:372:14: note: in instantiation of member function 'boost::basic_regex<char>::assign' requested here
return assign(p, p + traits::length(p), f);
^
/opt/wandbox/boost-1.73.0/clang-head/include/boost/regex/v4/basic_regex.hpp:341:7: note: in instantiation of member function 'boost::basic_regex<char>::assign' requested here
assign(p, f);
^
prog.cc:8:31: note: in instantiation of member function 'boost::basic_regex<char>::basic_regex' requested here
static const boost::regex re("AB");
^
1 warning generated.
hello
boost
world
Exit Code:
0