Odp: Zmiany w wydaniu OpenWrt 19.07
niestety ale nie poszło:
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/./include/cereal/cereal.hpp:699:16: required from 'ArchiveType& cereal::InputArchive<ArchiveType, Flags>::operator()(Types&& ...) [with Types = {std::shared_ptr<TestClass>&}; ArchiveType = cereal::JSONInputArchive; unsigned int Flags = 0]'
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/unittests/memory.hpp:141:8: required from 'void test_default_construction() [with IArchive = cereal::JSONInputArchive; OArchive = cereal::JSONOutputArchive]'
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/unittests/memory.cpp:69:82: required from here
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/./include/cereal/archives/json.hpp:713:19: note: candidate: template<class T, typename cereal::traits::detail::EnableIfHelper<std::is_arithmetic<_Tp>::value, (! std::is_same<T, long int>::value), (! std::is_same<T, long unsigned int>::value), (! std::is_same<T, long int>::value), (! std::is_same<T, long unsigned int>::value), ((sizeof (T) >= sizeof (long double)) || (sizeof (T) >= sizeof (long long int)))>::type <anonymous> > void cereal::JSONInputArchive::loadValue(T&)
inline void loadValue(T & val)
^~~~~~~~~
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/./include/cereal/archives/json.hpp:713:19: note: template argument deduction/substitution failed:
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/./include/cereal/archives/json.hpp:712:123: error: no type named 'type' in 'struct cereal::traits::detail::EnableIfHelper<true, true, true, true, true, false>'
(sizeof(T) >= sizeof(long double) || sizeof(T) >= sizeof(long long))> = traits::sfinae>
^~~~~~
openwrt/build_dir/target-x86_64_musl/cereal-1.3.0/./include/cereal/archives/json.hpp:712:123: note: invalid template non-type parameter
cc1plus: all warnings being treated as errors
unittests/CMakeFiles/test_memory_32.dir/build.make:79: recipe for target 'unittests/CMakeFiles/test_memory_32.dir/memory.cpp.o' failed
make[6]: *** [unittests/CMakeFiles/test_memory_32.dir/memory.cpp.o] Error 1
make[6]: Leaving directory 'openwrt/build_dir/target-x86_64_musl/cereal-1.3.0'
CMakeFiles/Makefile2:961: recipe for target 'unittests/CMakeFiles/test_memory_32.dir/all' failed
make[5]: *** [unittests/CMakeFiles/test_memory_32.dir/all] Error 2
make[5]: Leaving directory 'openwrt/build_dir/target-x86_64_musl/cereal-1.3.0'
Makefile:157: recipe for target 'all' failed