Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [build] build/blobify-src/include/blobify/properties.hpp:219:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = properties(make_tag<Data>);
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] /build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] include/bars/bars.h:23:55: note: non-constexpr function 'operator=<std::array<unsigned char, 4>, void>' cannot be used in a constant expression
- [build] props.member<&Header::signature>().expected_value = {'B', 'A', 'R', 'S'};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:219:28: note: in call to 'properties({})'
- [build] constexpr auto props = properties(make_tag<Data>);
- [build] ^
- [build] /usr/local/opt/llvm/bin/../include/c++/v1/optional:854:5: note: declared here
- [build] operator=(_Up&& __v)
- [build] ^
- [build] In file included from src/bars.cpp:1:
- [build] In file included from include/bars/bars.h:1:
- [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
- [build] In file included from build/blobify-src/include/blobify/load.hpp:6:
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: error: constexpr variable 'properties_for<BARS::Header>' must be initialized by a constant expression
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:172:47: note: in instantiation of variable template specialization 'blob::detail::properties_for' requested here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 4UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] include/bars/bars.h:23:55: note: non-constexpr function 'operator=<std::array<unsigned char, 4>, void>' cannot be used in a constant expression
- [build] props.member<&Header::signature>().expected_value = {'B', 'A', 'R', 'S'};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:40: note: in call to 'properties({})'
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] /usr/local/opt/llvm/bin/../include/c++/v1/optional:854:5: note: declared here
- [build] operator=(_Up&& __v)
- [build] ^
- [build] In file included from src/bars.cpp:1:
- [build] In file included from include/bars/bars.h:1:
- [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
- [build] In file included from build/blobify-src/include/blobify/load.hpp:6:
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: error: constexpr variable 'member_properties_for<BARS::Header, 4>' must be initialized by a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 4UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 4UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 4>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: error: constexpr variable 'member_properties_for<BARS::Header, 3>' must be initialized by a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 3UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 3UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 3>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: error: constexpr variable 'member_properties_for<BARS::Header, 2>' must be initialized by a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 2UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 2UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 2>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: error: constexpr variable 'member_properties_for<BARS::Header, 1>' must be initialized by a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 1UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 2UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 1UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 2UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 1>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: error: constexpr variable 'member_properties_for<BARS::Header, 0>' must be initialized by a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 0UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 1UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 2UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
- [build] inline constexpr auto properties_for = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in instantiation of function template specialization 'blob::detail::member_size_for<BARS::Header, 0UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 1UL>' requested here
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 2UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 3UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 4UL>' requested here
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in instantiation of function template specialization 'blob::detail::member_offset_for<BARS::Header, 5UL>' requested here
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in instantiation of function template specialization 'blob::detail::total_serialized_size<BARS::Header>' requested here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 0>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:37: error: constexpr variable 'serialized_size' must be initialized by a constant expression
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/load.hpp:144:13: note: in instantiation of function template specialization 'blob::detail::generic_validate<BARS::Header>' requested here
- [build] detail::generic_validate<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:207:24: note: in instantiation of function template specialization 'blob::detail::do_load<BARS::Header, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
- [build] ^
- [build] src/bars.cpp:10:24: note: in instantiation of function template specialization 'blob::load<BARS::Header, blob::istream_storage &, blob::detail::default_construction_policy>' requested here
- [build] auto header {blob::load<BARS::Header>(storage)};
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 4>' is not a constant expression
- [build] constexpr auto props = member_properties_for<Data, Idx>;
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
- [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in call to 'member_size_for()'
- [build] return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in call to 'member_offset_for()'
- [build] return member_offset_for<Data, size>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in call to 'total_serialized_size()'
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
- [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:222:19: error: constexpr if condition is not a constant expression
- [build] if constexpr (props.expected_size != 0) {
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:222:19: note: initializer of 'props' is not a constant expression
- [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
- [build] constexpr auto props = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:223:23: error: static assertion expression is not an integral constant expression
- [build] static_assert(props.expected_size == serialized_size, "Validation failure: Serialized data size does not match the specification");
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:223:23: note: initializer of 'props' is not a constant expression
- [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
- [build] constexpr auto props = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:226:19: error: constexpr if condition is not a constant expression
- [build] if constexpr (props.expect_tight_packing) {
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:226:19: note: initializer of 'props' is not a constant expression
- [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
- [build] constexpr auto props = properties(make_tag<Data>);
- [build] ^
- [build] build/blobify-src/include/blobify/properties.hpp:227:24: error: static assertion expression is not an integral constant expression
- [build] static_assert (serialized_size == sizeof(Data), "Validation failure: Data type is not tightly packed");
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/properties.hpp:227:24: note: initializer of 'serialized_size' is not a constant expression
- [build] build/blobify-src/include/blobify/properties.hpp:220:37: note: declared here
- [build] [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
- [build] ^
- [build] In file included from src/bars.cpp:1:
- [build] In file included from include/bars/bars.h:1:
- [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
- [build] build/blobify-src/include/blobify/load.hpp:100:47: error: no matching function for call to 'decode'
- [build] return validate_element<member_props>(ConstructionPolicy::template decode<Member, representative_type, member_props->endianness>(representative));
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/load.hpp:108:39: note: in instantiation of function template specialization 'blob::detail::load_element<unsigned char, &blob::detail::member_properties_for, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return ArrayType { { ((void)Idxs, load_element<ElementType, member_props, Storage, ConstructionPolicy>(storage))... } };
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:125:16: note: in instantiation of function template specialization 'blob::detail::load_array_elementwise<unsigned char, &blob::detail::member_properties_for, blob::istream_storage, blob::detail::default_construction_policy, 0UL, 1UL, 2UL, 3UL>' requested here
- [build] return load_array_elementwise<ElementType, member_props, Storage, ConstructionPolicy>(storage, std::make_index_sequence<NumElements>{});
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:94:16: note: in instantiation of function template specialization 'blob::detail::load_array<unsigned char, &blob::detail::member_properties_for, blob::istream_storage, blob::detail::default_construction_policy, 4UL>' requested here
- [build] return load_array<typename Member::value_type, member_props, Storage, ConstructionPolicy, std::tuple_size_v<Member>>(storage);
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:136:23: note: in instantiation of function template specialization 'blob::detail::load_element<std::array<unsigned char, 4>, &blob::detail::member_properties_for, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return Data { load_element<Members, &member_properties_for<Data, Idxs>, Storage, ConstructionPolicy>(storage)... };
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:148:12: note: in instantiation of function template specialization 'blob::detail::load_helper_t<blob::istream_storage, blob::detail::default_construction_policy, BARS::Header, std::tuple<std::array<unsigned char, 4>, unsigned int, unsigned short, unsigned short, unsigned int>>::operator()<0UL, 1UL, 2UL, 3UL, 4UL>' requested here
- [build] return detail::load_helper_t<Storage, ConstructionPolicy, Data, members_tuple_t>{}(storage, index_sequence);
- [build] ^
- [build] build/blobify-src/include/blobify/construction_policy.hpp:36:14: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'SourceEndianness'
- [build] static T decode(Representative source) {
- [build] ^
- [build] In file included from src/bars.cpp:1:
- [build] In file included from include/bars/bars.h:1:
- [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
- [build] build/blobify-src/include/blobify/load.hpp:100:47: error: no matching function for call to 'decode'
- [build] return validate_element<member_props>(ConstructionPolicy::template decode<Member, representative_type, member_props->endianness>(representative));
- [build] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [build] build/blobify-src/include/blobify/load.hpp:136:23: note: in instantiation of function template specialization 'blob::detail::load_element<unsigned int, &blob::detail::member_properties_for, blob::istream_storage, blob::detail::default_construction_policy>' requested here
- [build] return Data { load_element<Members, &member_properties_for<Data, Idxs>, Storage, ConstructionPolicy>(storage)... };
- [build] ^
- [build] build/blobify-src/include/blobify/load.hpp:148:12: note: in instantiation of function template specialization 'blob::detail::load_helper_t<blob::istream_storage, blob::detail::default_construction_policy, BARS::Header, std::tuple<std::array<unsigned char, 4>, unsigned int, unsigned short, unsigned short, unsigned int>>::operator()<0UL, 1UL, 2UL, 3UL, 4UL>' requested here
- [build] return detail::load_helper_t<Storage, ConstructionPolicy, Data, members_tuple_t>{}(storage, index_sequence);
- [build] ^
- [build] build/blobify-src/include/blobify/construction_policy.hpp:36:14: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'SourceEndianness'
- [build] static T decode(Representative source) {
- [build] ^
- [build] fatal error: too many errors emitted, stopping now [-ferror-limit=]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement