Advertisement
Guest User

Blobify CMake Log

a guest
Oct 17th, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 48.84 KB | Source Code | 0 0
  1. [build] build/blobify-src/include/blobify/properties.hpp:219:20: error: constexpr variable 'props' must be initialized by a constant expression
  2. [build]     constexpr auto props = properties(make_tag<Data>);
  3. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. [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
  5. [build]     detail::generic_validate<Data>();
  6. [build]             ^
  7. [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
  8. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  9. [build]                        ^
  10. [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
  11. [build]     auto header {blob::load<BARS::Header>(storage)};
  12. [build]                        ^
  13. [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
  14. [build]     props.member<&Header::signature>().expected_value = {'B', 'A', 'R', 'S'};
  15. [build]                                                       ^
  16. [build] build/blobify-src/include/blobify/properties.hpp:219:28: note: in call to 'properties({})'
  17. [build]     constexpr auto props = properties(make_tag<Data>);
  18. [build]                            ^
  19. [build] /usr/local/opt/llvm/bin/../include/c++/v1/optional:854:5: note: declared here
  20. [build]     operator=(_Up&& __v)
  21. [build]     ^
  22. [build] In file included from src/bars.cpp:1:
  23. [build] In file included from include/bars/bars.h:1:
  24. [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
  25. [build] In file included from build/blobify-src/include/blobify/load.hpp:6:
  26. [build] build/blobify-src/include/blobify/properties.hpp:170:23: error: constexpr variable 'properties_for<BARS::Header>' must be initialized by a constant expression
  27. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  28. [build]                       ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~
  29. [build] build/blobify-src/include/blobify/properties.hpp:172:47: note: in instantiation of variable template specialization 'blob::detail::properties_for' requested here
  30. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  31. [build]                                               ^
  32. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  33. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  34. [build]                            ^
  35. [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
  36. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  37. [build]                ^
  38. [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
  39. [build]         return member_offset_for<Data, size>();
  40. [build]                ^
  41. [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
  42. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  43. [build]                                                       ^
  44. [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
  45. [build]     detail::generic_validate<Data>();
  46. [build]             ^
  47. [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
  48. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  49. [build]                        ^
  50. [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
  51. [build]     auto header {blob::load<BARS::Header>(storage)};
  52. [build]                        ^
  53. [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
  54. [build]     props.member<&Header::signature>().expected_value = {'B', 'A', 'R', 'S'};
  55. [build]                                                       ^
  56. [build] build/blobify-src/include/blobify/properties.hpp:170:40: note: in call to 'properties({})'
  57. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  58. [build]                                        ^
  59. [build] /usr/local/opt/llvm/bin/../include/c++/v1/optional:854:5: note: declared here
  60. [build]     operator=(_Up&& __v)
  61. [build]     ^
  62. [build] In file included from src/bars.cpp:1:
  63. [build] In file included from include/bars/bars.h:1:
  64. [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
  65. [build] In file included from build/blobify-src/include/blobify/load.hpp:6:
  66. [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
  67. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  68. [build]                       ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  70. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  71. [build]                            ^
  72. [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
  73. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  74. [build]                ^
  75. [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
  76. [build]         return member_offset_for<Data, size>();
  77. [build]                ^
  78. [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
  79. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  80. [build]                                                       ^
  81. [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
  82. [build]     detail::generic_validate<Data>();
  83. [build]             ^
  84. [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
  85. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  86. [build]                        ^
  87. [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
  88. [build]     auto header {blob::load<BARS::Header>(storage)};
  89. [build]                        ^
  90. [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
  91. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  92. [build]                                                                             ^
  93. [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
  94. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  95. [build]                       ^
  96. [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
  97. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  98. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  99. [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
  100. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  101. [build]                ^
  102. [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
  103. [build]         return member_offset_for<Data, size>();
  104. [build]                ^
  105. [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
  106. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  107. [build]                                                       ^
  108. [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
  109. [build]     detail::generic_validate<Data>();
  110. [build]             ^
  111. [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
  112. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  113. [build]                        ^
  114. [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
  115. [build]     auto header {blob::load<BARS::Header>(storage)};
  116. [build]                        ^
  117. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 4>' is not a constant expression
  118. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  119. [build]                            ^
  120. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  121. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  122. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  123. [build]                       ^
  124. [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
  125. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  126. [build]                       ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  128. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  129. [build]                            ^
  130. [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
  131. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  132. [build]                ^
  133. [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
  134. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  135. [build]                                                   ^
  136. [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
  137. [build]         return member_offset_for<Data, size>();
  138. [build]                ^
  139. [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
  140. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  141. [build]                                                       ^
  142. [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
  143. [build]     detail::generic_validate<Data>();
  144. [build]             ^
  145. [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
  146. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  147. [build]                        ^
  148. [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
  149. [build]     auto header {blob::load<BARS::Header>(storage)};
  150. [build]                        ^
  151. [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
  152. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  153. [build]                                                                             ^
  154. [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
  155. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  156. [build]                       ^
  157. [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
  158. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  159. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  160. [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
  161. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  162. [build]                ^
  163. [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
  164. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  165. [build]                                                   ^
  166. [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
  167. [build]         return member_offset_for<Data, size>();
  168. [build]                ^
  169. [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
  170. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  171. [build]                                                       ^
  172. [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
  173. [build]     detail::generic_validate<Data>();
  174. [build]             ^
  175. [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
  176. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  177. [build]                        ^
  178. [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
  179. [build]     auto header {blob::load<BARS::Header>(storage)};
  180. [build]                        ^
  181. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 3>' is not a constant expression
  182. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  183. [build]                            ^
  184. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  185. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  186. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  187. [build]                       ^
  188. [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
  189. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  190. [build]                       ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  192. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  193. [build]                            ^
  194. [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
  195. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  196. [build]                ^
  197. [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
  198. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  199. [build]                                                   ^
  200. [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
  201. [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
  202. [build]         return member_offset_for<Data, size>();
  203. [build]                ^
  204. [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
  205. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  206. [build]                                                       ^
  207. [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
  208. [build]     detail::generic_validate<Data>();
  209. [build]             ^
  210. [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
  211. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  212. [build]                        ^
  213. [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
  214. [build]     auto header {blob::load<BARS::Header>(storage)};
  215. [build]                        ^
  216. [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
  217. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  218. [build]                                                                             ^
  219. [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
  220. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  221. [build]                       ^
  222. [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
  223. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  224. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  225. [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
  226. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  227. [build]                ^
  228. [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
  229. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  230. [build]                                                   ^
  231. [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
  232. [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
  233. [build]         return member_offset_for<Data, size>();
  234. [build]                ^
  235. [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
  236. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  237. [build]                                                       ^
  238. [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
  239. [build]     detail::generic_validate<Data>();
  240. [build]             ^
  241. [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
  242. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  243. [build]                        ^
  244. [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
  245. [build]     auto header {blob::load<BARS::Header>(storage)};
  246. [build]                        ^
  247. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 2>' is not a constant expression
  248. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  249. [build]                            ^
  250. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  251. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  252. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  253. [build]                       ^
  254. [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
  255. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  256. [build]                       ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  257. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  258. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  259. [build]                            ^
  260. [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
  261. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  262. [build]                ^
  263. [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
  264. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  265. [build]                                                   ^
  266. [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
  267. [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
  268. [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
  269. [build]         return member_offset_for<Data, size>();
  270. [build]                ^
  271. [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
  272. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  273. [build]                                                       ^
  274. [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
  275. [build]     detail::generic_validate<Data>();
  276. [build]             ^
  277. [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
  278. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  279. [build]                        ^
  280. [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
  281. [build]     auto header {blob::load<BARS::Header>(storage)};
  282. [build]                        ^
  283. [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
  284. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  285. [build]                                                                             ^
  286. [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
  287. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  288. [build]                       ^
  289. [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
  290. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  291. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  292. [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
  293. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  294. [build]                ^
  295. [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
  296. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  297. [build]                                                   ^
  298. [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
  299. [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
  300. [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
  301. [build]         return member_offset_for<Data, size>();
  302. [build]                ^
  303. [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
  304. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  305. [build]                                                       ^
  306. [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
  307. [build]     detail::generic_validate<Data>();
  308. [build]             ^
  309. [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
  310. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  311. [build]                        ^
  312. [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
  313. [build]     auto header {blob::load<BARS::Header>(storage)};
  314. [build]                        ^
  315. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 1>' is not a constant expression
  316. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  317. [build]                            ^
  318. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  319. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  320. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  321. [build]                       ^
  322. [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
  323. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  324. [build]                       ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  325. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in instantiation of variable template specialization 'blob::detail::member_properties_for' requested here
  326. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  327. [build]                            ^
  328. [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
  329. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  330. [build]                ^
  331. [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
  332. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  333. [build]                                                   ^
  334. [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
  335. [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
  336. [build] build/blobify-src/include/blobify/properties.hpp:200:51: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  337. [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
  338. [build]         return member_offset_for<Data, size>();
  339. [build]                ^
  340. [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
  341. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  342. [build]                                                       ^
  343. [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
  344. [build]     detail::generic_validate<Data>();
  345. [build]             ^
  346. [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
  347. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  348. [build]                        ^
  349. [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
  350. [build]     auto header {blob::load<BARS::Header>(storage)};
  351. [build]                        ^
  352. [build] build/blobify-src/include/blobify/properties.hpp:172:77: note: initializer of 'properties_for<BARS::Header>' is not a constant expression
  353. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  354. [build]                                                                             ^
  355. [build] build/blobify-src/include/blobify/properties.hpp:170:23: note: declared here
  356. [build] inline constexpr auto properties_for = properties(make_tag<Data>);
  357. [build]                       ^
  358. [build] build/blobify-src/include/blobify/properties.hpp:179:20: error: constexpr variable 'props' must be initialized by a constant expression
  359. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  360. [build]                    ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  361. [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
  362. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  363. [build]                ^
  364. [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
  365. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  366. [build]                                                   ^
  367. [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
  368. [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
  369. [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
  370. [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
  371. [build]         return member_offset_for<Data, size>();
  372. [build]                ^
  373. [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
  374. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  375. [build]                                                       ^
  376. [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
  377. [build]     detail::generic_validate<Data>();
  378. [build]             ^
  379. [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
  380. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  381. [build]                        ^
  382. [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
  383. [build]     auto header {blob::load<BARS::Header>(storage)};
  384. [build]                        ^
  385. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 0>' is not a constant expression
  386. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  387. [build]                            ^
  388. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  389. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  390. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  391. [build]                       ^
  392. [build] build/blobify-src/include/blobify/properties.hpp:220:37: error: constexpr variable 'serialized_size' must be initialized by a constant expression
  393. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  394. [build]                                     ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  395. [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
  396. [build]     detail::generic_validate<Data>();
  397. [build]             ^
  398. [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
  399. [build]         return detail::do_load<Data, StorageType, ConstructionPolicy>(storage, {});
  400. [build]                        ^
  401. [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
  402. [build]     auto header {blob::load<BARS::Header>(storage)};
  403. [build]                        ^
  404. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: initializer of 'member_properties_for<BARS::Header, 4>' is not a constant expression
  405. [build]     constexpr auto props = member_properties_for<Data, Idx>;
  406. [build]                            ^
  407. [build] build/blobify-src/include/blobify/properties.hpp:179:28: note: in call to 'element_properties_t(member_properties_for)'
  408. [build] build/blobify-src/include/blobify/properties.hpp:200:16: note: in call to 'member_size_for()'
  409. [build]         return member_size_for<Data, Idx - 1>() + member_offset_for<Data, Idx - 1>();
  410. [build]                ^
  411. [build] build/blobify-src/include/blobify/properties.hpp:211:16: note: in call to 'member_offset_for()'
  412. [build]         return member_offset_for<Data, size>();
  413. [build]                ^
  414. [build] build/blobify-src/include/blobify/properties.hpp:220:55: note: in call to 'total_serialized_size()'
  415. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  416. [build]                                                       ^
  417. [build] build/blobify-src/include/blobify/properties.hpp:172:23: note: declared here
  418. [build] inline constexpr auto member_properties_for = properties_for<Data>.template member_at<Idx>();
  419. [build]                       ^
  420. [build] build/blobify-src/include/blobify/properties.hpp:222:19: error: constexpr if condition is not a constant expression
  421. [build]     if constexpr (props.expected_size != 0) {
  422. [build]                   ^~~~~~~~~~~~~~~~~~~~~~~~
  423. [build] build/blobify-src/include/blobify/properties.hpp:222:19: note: initializer of 'props' is not a constant expression
  424. [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
  425. [build]     constexpr auto props = properties(make_tag<Data>);
  426. [build]                    ^
  427. [build] build/blobify-src/include/blobify/properties.hpp:223:23: error: static assertion expression is not an integral constant expression
  428. [build]         static_assert(props.expected_size == serialized_size, "Validation failure: Serialized data size does not match the specification");
  429. [build]                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430. [build] build/blobify-src/include/blobify/properties.hpp:223:23: note: initializer of 'props' is not a constant expression
  431. [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
  432. [build]     constexpr auto props = properties(make_tag<Data>);
  433. [build]                    ^
  434. [build] build/blobify-src/include/blobify/properties.hpp:226:19: error: constexpr if condition is not a constant expression
  435. [build]     if constexpr (props.expect_tight_packing) {
  436. [build]                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  437. [build] build/blobify-src/include/blobify/properties.hpp:226:19: note: initializer of 'props' is not a constant expression
  438. [build] build/blobify-src/include/blobify/properties.hpp:219:20: note: declared here
  439. [build]     constexpr auto props = properties(make_tag<Data>);
  440. [build]                    ^
  441. [build] build/blobify-src/include/blobify/properties.hpp:227:24: error: static assertion expression is not an integral constant expression
  442. [build]         static_assert (serialized_size == sizeof(Data), "Validation failure: Data type is not tightly packed");
  443. [build]                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  444. [build] build/blobify-src/include/blobify/properties.hpp:227:24: note: initializer of 'serialized_size' is not a constant expression
  445. [build] build/blobify-src/include/blobify/properties.hpp:220:37: note: declared here
  446. [build]     [[maybe_unused]] constexpr auto serialized_size = total_serialized_size<Data>();
  447. [build]                                     ^
  448. [build] In file included from src/bars.cpp:1:
  449. [build] In file included from include/bars/bars.h:1:
  450. [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
  451. [build] build/blobify-src/include/blobify/load.hpp:100:47: error: no matching function for call to 'decode'
  452. [build]         return validate_element<member_props>(ConstructionPolicy::template decode<Member, representative_type, member_props->endianness>(representative));
  453. [build]                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454. [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
  455. [build]     return ArrayType { { ((void)Idxs, load_element<ElementType, member_props, Storage, ConstructionPolicy>(storage))... } };
  456. [build]                                       ^
  457. [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
  458. [build]         return load_array_elementwise<ElementType, member_props, Storage, ConstructionPolicy>(storage, std::make_index_sequence<NumElements>{});
  459. [build]                ^
  460. [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
  461. [build]         return load_array<typename Member::value_type, member_props, Storage, ConstructionPolicy, std::tuple_size_v<Member>>(storage);
  462. [build]                ^
  463. [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
  464. [build]         return Data { load_element<Members, &member_properties_for<Data, Idxs>, Storage, ConstructionPolicy>(storage)... };
  465. [build]                       ^
  466. [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
  467. [build]     return detail::load_helper_t<Storage, ConstructionPolicy, Data, members_tuple_t>{}(storage, index_sequence);
  468. [build]            ^
  469. [build] build/blobify-src/include/blobify/construction_policy.hpp:36:14: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'SourceEndianness'
  470. [build]     static T decode(Representative source) {
  471. [build]              ^
  472. [build] In file included from src/bars.cpp:1:
  473. [build] In file included from include/bars/bars.h:1:
  474. [build] In file included from build/blobify-src/include/blobify/blobify.hpp:4:
  475. [build] build/blobify-src/include/blobify/load.hpp:100:47: error: no matching function for call to 'decode'
  476. [build]         return validate_element<member_props>(ConstructionPolicy::template decode<Member, representative_type, member_props->endianness>(representative));
  477. [build]                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  478. [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
  479. [build]         return Data { load_element<Members, &member_properties_for<Data, Idxs>, Storage, ConstructionPolicy>(storage)... };
  480. [build]                       ^
  481. [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
  482. [build]     return detail::load_helper_t<Storage, ConstructionPolicy, Data, members_tuple_t>{}(storage, index_sequence);
  483. [build]            ^
  484. [build] build/blobify-src/include/blobify/construction_policy.hpp:36:14: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'SourceEndianness'
  485. [build]     static T decode(Representative source) {
  486. [build]              ^
  487. [build] fatal error: too many errors emitted, stopping now [-ferror-limit=]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement