Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 3 years ago

Language

C++

Compiler

clang 14.0.0

Options
Warnings
Boost 1.79.0
C++2b(GNU)
no pedantic

Author

anonymous

about 3 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.79.0-clang-14.0.0/include -std=gnu++2b
In file included from prog.cc:2:
In file included from /opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3.hpp:69:
In file included from /opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string.hpp:11:
In file included from /opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string/symbols.hpp:13:
In file included from /opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string/tst.hpp:10:
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string/detail/tst.hpp:74:29: error: no matching function for call to object of type 'boost::spirit::x3::case_compare<boost::spirit::char_encoding::standard>'
                int32_t c = comp(*i,p->id);
                            ^~~~
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string/tst.hpp:56:26: note: in instantiation of function template specialization 'boost::spirit::x3::detail::tst_node<char, unsigned int>::find<boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>, boost::spirit::x3::case_compare<boost::spirit::char_encoding::standard>>' requested here
            return node::find(root, first, last, caseCompare);
                         ^
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/string/symbols.hpp:205:27: note: in instantiation of function template specialization 'boost::spirit::x3::tst<char, unsigned int>::find<boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>, boost::spirit::x3::case_compare<boost::spirit::char_encoding::standard>>' requested here
                = lookup->find(first, last, get_case_compare<Encoding>(context)))
                          ^
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/core/parse.hpp:36:29: note: in instantiation of function template specialization 'boost::spirit::x3::symbols_parser<boost::spirit::char_encoding::standard, unsigned int, boost::spirit::x3::tst<char, unsigned int>>::parse<boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>, boost::spirit::x3::unused_type, const boost::spirit::x3::unused_type>' requested here
        return as_parser(p).parse(first, last, unused, unused, attr);
                            ^
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/core/parse.hpp:72:16: note: in instantiation of function template specialization 'boost::spirit::x3::parse_main<boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>, sample, const boost::spirit::x3::unused_type>' requested here
        return parse_main(first, last, p, unused);
               ^
prog.cc:20:7: note: in instantiation of function template specialization 'boost::spirit::x3::parse<boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>, sample>' requested here
  x3::parse(first, last, sample{});
      ^
/opt/wandbox/boost-1.79.0-clang-14.0.0/include/boost/spirit/home/x3/support/no_case.hpp:28:17: note: candidate template ignored: deduced conflicting types for parameter 'Char' ('boost::u8_to_u32_iterator<std::__wrap_iter<const char *>>::value_type' (aka 'unsigned int') vs. 'char')
        int32_t operator()(Char lc, Char rc) const
                ^
1 error generated.
Exit Code:
1