Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git 6ed0749151866894a67a3e7eefdc1f3a547daa0e) (https://github.com/llvm-mirror/llvm.git a10a70238ace1093cad3adeb94814b422bd1b5c1)

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

Author

anonymous

almost 6 years ago

$ clang++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.70.0/clang-head/include -std=gnu++2a
In file included from prog.cc:5:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/text_oarchive.hpp:31:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/basic_text_oarchive.hpp:29:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/common_oarchive.hpp:22:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/interface_oarchive.hpp:23:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/oserializer.hpp:40:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/extended_type_info_typeid.hpp:37:
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/access.hpp:116:11: error: no member named 'serialize' in 'std::__1::basic_string<char>'
        t.serialize(ar, file_version);
        ~ ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/serialization.hpp:68:13: note: in instantiation of function template specialization 'boost::serialization::access::serialize<boost::archive::text_oarchive, std::__1::basic_string<char> >' requested here
    access::serialize(ar, t, static_cast<unsigned int>(file_version));
            ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/serialization.hpp:126:5: note: in instantiation of function template specialization 'boost::serialization::serialize<boost::archive::text_oarchive, std::__1::basic_string<char> >' requested here
    serialize(ar, t, v);
    ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/oserializer.hpp:153:27: note: in instantiation of function template specialization 'boost::serialization::serialize_adl<boost::archive::text_oarchive, std::__1::basic_string<char> >' requested here
    boost::serialization::serialize_adl(
                          ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/oserializer.hpp:221:30: note: in instantiation of member function 'boost::archive::detail::oserializer<boost::archive::text_oarchive, std::__1::basic_string<char> >::save_object_data' requested here
    >::get_mutable_instance().set_bpos(this);
                             ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::pointer_oserializer<boost::archive::text_oarchive, std::__1::basic_string<char> >::pointer_oserializer' requested here
    singleton_wrapper(){
    ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/singleton.hpp:171:47: note: (skipping 73 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
        static detail::singleton_wrapper< T > t;
                                              ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/oserializer.hpp:539:12: note: in instantiation of function template specialization 'boost::archive::detail::save_non_pointer_type<boost::archive::text_oarchive>::invoke<Person>' requested here
    typex::invoke(ar, t);
           ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/common_oarchive.hpp:71:18: note: in instantiation of function template specialization 'boost::archive::save<boost::archive::text_oarchive, const Person>' requested here
        archive::save(* this->This(), t);
                 ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/basic_text_oarchive.hpp:83:39: note: in instantiation of function template specialization 'boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::save_override<const Person>' requested here
        this->detail_common_oarchive::save_override(t);
                                      ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/interface_oarchive.hpp:70:23: note: in instantiation of function template specialization 'boost::archive::basic_text_oarchive<boost::archive::text_oarchive>::save_override<const Person>' requested here
        this->This()->save_override(t);
                      ^
prog.cc:40:8: note: in instantiation of function template specialization 'boost::archive::detail::interface_oarchive<boost::archive::text_oarchive>::operator<<<Person>' requested here
    oa << p;
       ^
In file included from prog.cc:5:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/text_oarchive.hpp:31:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/basic_text_oarchive.hpp:29:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/common_oarchive.hpp:22:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/interface_oarchive.hpp:23:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/oserializer.hpp:40:
In file included from /opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/extended_type_info_typeid.hpp:37:
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/access.hpp:116:11: error: no member named 'serialize' in 'std::__1::basic_string<char>'
        t.serialize(ar, file_version);
        ~ ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/serialization.hpp:68:13: note: in instantiation of function template specialization 'boost::serialization::access::serialize<boost::archive::text_iarchive, std::__1::basic_string<char> >' requested here
    access::serialize(ar, t, static_cast<unsigned int>(file_version));
            ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/serialization.hpp:126:5: note: in instantiation of function template specialization 'boost::serialization::serialize<boost::archive::text_iarchive, std::__1::basic_string<char> >' requested here
    serialize(ar, t, v);
    ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/iserializer.hpp:187:27: note: in instantiation of function template specialization 'boost::serialization::serialize_adl<boost::archive::text_iarchive, std::__1::basic_string<char> >' requested here
    boost::serialization::serialize_adl(
                          ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/iserializer.hpp:368:30: note: in instantiation of member function 'boost::archive::detail::iserializer<boost::archive::text_iarchive, std::__1::basic_string<char> >::load_object_data' requested here
    >::get_mutable_instance().set_bpis(this);
                             ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::pointer_iserializer<boost::archive::text_iarchive, std::__1::basic_string<char> >::pointer_iserializer' requested here
    singleton_wrapper(){
    ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/serialization/singleton.hpp:171:47: note: (skipping 78 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
        static detail::singleton_wrapper< T > t;
                                              ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/common_iarchive.hpp:67:18: note: in instantiation of function template specialization 'boost::archive::load<boost::archive::text_iarchive, Person>' requested here
        archive::load(* this->This(), t);
                 ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/basic_text_iarchive.hpp:70:39: note: in instantiation of function template specialization 'boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::load_override<Person>' requested here
        this->detail_common_iarchive::load_override(t);
                                      ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/text_iarchive.hpp:82:39: note: in instantiation of function template specialization 'boost::archive::basic_text_iarchive<boost::archive::text_iarchive>::load_override<Person>' requested here
        basic_text_iarchive<Archive>::load_override(t);
                                      ^
/opt/wandbox/boost-1.70.0/clang-head/include/boost/archive/detail/interface_iarchive.hpp:68:23: note: in instantiation of function template specialization 'boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load_override<Person>' requested here
        this->This()->load_override(t);
                      ^
prog.cc:43:8: note: in instantiation of function template specialization 'boost::archive::detail::interface_iarchive<boost::archive::text_iarchive>::operator>><Person>' requested here
    ia >> read;
       ^
2 errors generated.
Exit Code:
1