Skip to content

Instantly share code, notes, and snippets.

@cycyyy
Created December 23, 2020 00:52
Show Gist options
  • Save cycyyy/b08a1bb0a0ea54361dd6ed6f1dfb46e7 to your computer and use it in GitHub Desktop.
Save cycyyy/b08a1bb0a0ea54361dd6ed6f1dfb46e7 to your computer and use it in GitHub Desktop.
[ 50%] Building CXX object CMakeFiles/recsys.dir/main.cpp.o
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:911:41: error: ‘lib’ has not been declared
struct variant_size<variant<Ts...>> : lib::size_constant<sizeof...(Ts)> {};
^~~
/usr/include/arrow/vendored/variant.hpp:911:46: error: expected ‘{’ before ‘size_constant’
struct variant_size<variant<Ts...>> : lib::size_constant<sizeof...(Ts)> {};
^~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:935:18: error: ‘lib’ does not name a type; did you mean ‘link’?
using type = lib::type_pack_element_t<I, Ts...>;
^~~
link
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr std::size_t mpark::detail::find_index()’:
/usr/include/arrow/vendored/variant.hpp:948:17: error: ‘lib’ does not name a type; did you mean ‘link’?
constexpr lib::array<bool, sizeof...(Ts)> matches = {
^~~
link
/usr/include/arrow/vendored/variant.hpp:953:13: error: ‘matches’ was not declared in this scope
if (matches[i]) {
^~~~~~~
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:986:9: error: ‘lib’ does not name a type; did you mean ‘link’?
lib::enable_if_t<I != not_found && I != ambiguous,
^~~
link
/usr/include/arrow/vendored/variant.hpp:990:31: error: ‘find_index_sfinae_impl’ does not name a type
using find_index_sfinae = find_index_sfinae_impl<find_index<T, Ts...>()>;
^~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:993:38: error: ‘lib’ has not been declared
struct find_index_checked_impl : lib::size_constant<I> {
^~~
/usr/include/arrow/vendored/variant.hpp:993:43: error: expected ‘{’ before ‘size_constant’
struct find_index_checked_impl : lib::size_constant<I> {
^~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr mpark::detail::Trait mpark::detail::common_trait(Traits ...)’:
/usr/include/arrow/vendored/variant.hpp:1019:7: error: ‘lib’ has not been declared
lib::array<Trait, sizeof...(Traits)> traits = {{traits_...}};
^~~
/usr/include/arrow/vendored/variant.hpp:1019:23: error: expected primary-expression before ‘,’ token
lib::array<Trait, sizeof...(Traits)> traits = {{traits_...}};
^
/usr/include/arrow/vendored/variant.hpp:1019:44: error: ‘traits’ was not declared in this scope
lib::array<Trait, sizeof...(Traits)> traits = {{traits_...}};
^~~~~~
/usr/include/arrow/vendored/variant.hpp:1019:44: note: suggested alternative:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:1094:12: note: ‘c10::detail_::traits’
struct traits {
^~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:1050:30: error: ‘lib’ was not declared in this scope
lib::is_trivially_copy_constructible,
^~~
/usr/include/arrow/vendored/variant.hpp:1050:30: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1049:24: error: parse error in template argument list
common_trait(trait<Ts,
^~~~~~~~~
lib::is_trivially_copy_constructible,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::is_copy_constructible>()...);
~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1055:30: error: ‘lib’ was not declared in this scope
lib::is_trivially_move_constructible,
^~~
/usr/include/arrow/vendored/variant.hpp:1055:30: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1054:24: error: parse error in template argument list
common_trait(trait<Ts,
^~~~~~~~~
lib::is_trivially_move_constructible,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::is_move_constructible>()...);
~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1061:30: error: ‘lib’ was not declared in this scope
lib::is_trivially_copy_assignable,
^~~
/usr/include/arrow/vendored/variant.hpp:1061:30: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1060:24: error: parse error in template argument list
trait<Ts,
^~~~~~~~~
lib::is_trivially_copy_assignable,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::is_copy_assignable>()...);
~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1067:30: error: ‘lib’ was not declared in this scope
lib::is_trivially_move_assignable,
^~~
/usr/include/arrow/vendored/variant.hpp:1067:30: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1066:24: error: parse error in template argument list
trait<Ts,
^~~~~~~~~
lib::is_trivially_move_assignable,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::is_move_assignable>()...);
~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1081:55: error: ‘in_place_index_t’ has not been declared
inline static constexpr auto &&get_alt(V &&v, in_place_index_t<0>) {
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1081:71: error: expected ‘,’ or ‘...’ before ‘<’ token
inline static constexpr auto &&get_alt(V &&v, in_place_index_t<0>) {
^
/usr/include/arrow/vendored/variant.hpp:1086:55: error: ‘in_place_index_t’ has not been declared
inline static constexpr auto &&get_alt(V &&v, in_place_index_t<I>) {
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1086:71: error: expected ‘,’ or ‘...’ before ‘<’ token
inline static constexpr auto &&get_alt(V &&v, in_place_index_t<I>) {
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr auto&& mpark::detail::access::recursive_union::get_alt(V&&, int)’:
/usr/include/arrow/vendored/variant.hpp:1082:18: error: ‘lib’ has not been declared
return lib::forward<V>(v).head_;
^~~
/usr/include/arrow/vendored/variant.hpp:1082:32: error: expected primary-expression before ‘>’ token
return lib::forward<V>(v).head_;
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr auto&& mpark::detail::access::recursive_union::get_alt(V&&, int)’:
/usr/include/arrow/vendored/variant.hpp:1087:26: error: ‘lib’ has not been declared
return get_alt(lib::forward<V>(v).tail_, in_place_index_t<I - 1>{});
^~~
/usr/include/arrow/vendored/variant.hpp:1087:40: error: expected primary-expression before ‘>’ token
return get_alt(lib::forward<V>(v).tail_, in_place_index_t<I - 1>{});
^
/usr/include/arrow/vendored/variant.hpp:1087:52: error: ‘in_place_index_t’ was not declared in this scope
return get_alt(lib::forward<V>(v).tail_, in_place_index_t<I - 1>{});
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1087:52: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
struct in_place_index_t { explicit in_place_index_t() = default; };
^~~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1087:75: error: expected primary-expression before ‘{’ token
return get_alt(lib::forward<V>(v).tail_, in_place_index_t<I - 1>{});
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr auto&& mpark::detail::access::base::get_alt(V&&)’:
/usr/include/arrow/vendored/variant.hpp:1117:11: error: ‘lib’ has not been declared
AUTO_REFREF_RETURN(recursive_union::get_alt(
^
/usr/include/arrow/vendored/variant.hpp:1117:11: error: expected primary-expression before ‘>’ token
AUTO_REFREF_RETURN(recursive_union::get_alt(
^
/usr/include/arrow/vendored/variant.hpp:1117:11: error: ‘in_place_index_t’ was not declared in this scope
AUTO_REFREF_RETURN(recursive_union::get_alt(
^
/usr/include/arrow/vendored/variant.hpp:1117:11: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
struct in_place_index_t { explicit in_place_index_t() = default; };
^~~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1117:11: error: expected primary-expression before ‘{’ token
AUTO_REFREF_RETURN(recursive_union::get_alt(
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr auto&& mpark::detail::access::variant::get_alt(V&&)’:
/usr/include/arrow/vendored/variant.hpp:1125:11: error: ‘lib’ has not been declared
AUTO_REFREF_RETURN(base::get_alt<I>(lib::forward<V>(v).impl_))
^
/usr/include/arrow/vendored/variant.hpp:1125:11: error: expected primary-expression before ‘>’ token
AUTO_REFREF_RETURN(base::get_alt<I>(lib::forward<V>(v).impl_))
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:1139:13: error: ‘lib’ was not declared in this scope
lib::invoke(std::declval<Visitor>(),
^~~
/usr/include/arrow/vendored/variant.hpp:1139:13: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1139:13: error: ‘lib’ has not been declared
lib::invoke(std::declval<Visitor>(),
^~~
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::base::visit_return_type_check<Expected, Actual>::invoke(Visitor&&, Alts&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1159:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1159:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1159:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1159:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1159:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr R mpark::detail::visitation::base::dispatcher<true, R, ITs ...>::dispatch(F&&, typename ITs::type&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1194:37: error: ‘lib’ was not declared in this scope
using Actual = decltype(lib::invoke(
^~~
/usr/include/arrow/vendored/variant.hpp:1194:37: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1194:37: error: ‘lib’ is not a class, namespace, or enumeration
using Actual = decltype(lib::invoke(
^~~
/usr/include/arrow/vendored/variant.hpp:1195:17: error: ‘lib’ is not a class, namespace, or enumeration
lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1195:31: error: expected primary-expression before ‘>’ token
lib::forward<F>(f),
^
/usr/include/arrow/vendored/variant.hpp:1197:21: error: ‘lib’ is not a class, namespace, or enumeration
lib::forward<typename ITs::type>(visited_vs))...));
^~~
/usr/include/arrow/vendored/variant.hpp:1197:52: error: expected ‘(’ before ‘>’ token
lib::forward<typename ITs::type>(visited_vs))...));
^
/usr/include/arrow/vendored/variant.hpp:1198:54: error: ‘Actual’ was not declared in this scope
return visit_return_type_check<Expected, Actual>::invoke(
^~~~~~
/usr/include/arrow/vendored/variant.hpp:1198:60: error: template argument 2 is invalid
return visit_return_type_check<Expected, Actual>::invoke(
^
/usr/include/arrow/vendored/variant.hpp:1199:17: error: ‘lib’ is not a class, namespace, or enumeration
lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1199:31: error: expected primary-expression before ‘>’ token
lib::forward<F>(f),
^
/usr/include/arrow/vendored/variant.hpp:1201:21: error: ‘lib’ is not a class, namespace, or enumeration
lib::forward<typename ITs::type>(visited_vs))...);
^~~
/usr/include/arrow/vendored/variant.hpp:1201:52: error: expected ‘(’ before ‘>’ token
lib::forward<typename ITs::type>(visited_vs))...);
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr R mpark::detail::visitation::base::dispatcher<true, R, ITs ...>::dispatch(F&&, typename ITs::type&& ..., V&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1225:34: error: ‘lib’ was not declared in this scope
case B + 0: return MPARK_DISPATCH(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1225:34: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1225:34: error: wrong number of template arguments (1, should be at least 2)
case B + 0: return MPARK_DISPATCH(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1225:34: error: expected ‘;’ before ‘)’ token
case B + 0: return MPARK_DISPATCH(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1225:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1226:34: error: wrong number of template arguments (1, should be at least 2)
case B + 1: return MPARK_DISPATCH(B + 1);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1226:34: error: expected ‘;’ before ‘)’ token
case B + 1: return MPARK_DISPATCH(B + 1);
^
/usr/include/arrow/vendored/variant.hpp:1226:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1227:34: error: wrong number of template arguments (1, should be at least 2)
case B + 2: return MPARK_DISPATCH(B + 2);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1227:34: error: expected ‘;’ before ‘)’ token
case B + 2: return MPARK_DISPATCH(B + 2);
^
/usr/include/arrow/vendored/variant.hpp:1227:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1228:34: error: wrong number of template arguments (1, should be at least 2)
case B + 3: return MPARK_DISPATCH(B + 3);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1228:34: error: expected ‘;’ before ‘)’ token
case B + 3: return MPARK_DISPATCH(B + 3);
^
/usr/include/arrow/vendored/variant.hpp:1228:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1229:34: error: wrong number of template arguments (1, should be at least 2)
case B + 4: return MPARK_DISPATCH(B + 4);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1229:34: error: expected ‘;’ before ‘)’ token
case B + 4: return MPARK_DISPATCH(B + 4);
^
/usr/include/arrow/vendored/variant.hpp:1229:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1230:34: error: wrong number of template arguments (1, should be at least 2)
case B + 5: return MPARK_DISPATCH(B + 5);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1230:34: error: expected ‘;’ before ‘)’ token
case B + 5: return MPARK_DISPATCH(B + 5);
^
/usr/include/arrow/vendored/variant.hpp:1230:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1231:34: error: wrong number of template arguments (1, should be at least 2)
case B + 6: return MPARK_DISPATCH(B + 6);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1231:34: error: expected ‘;’ before ‘)’ token
case B + 6: return MPARK_DISPATCH(B + 6);
^
/usr/include/arrow/vendored/variant.hpp:1231:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1232:34: error: wrong number of template arguments (1, should be at least 2)
case B + 7: return MPARK_DISPATCH(B + 7);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1232:34: error: expected ‘;’ before ‘)’ token
case B + 7: return MPARK_DISPATCH(B + 7);
^
/usr/include/arrow/vendored/variant.hpp:1232:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1233:34: error: wrong number of template arguments (1, should be at least 2)
case B + 8: return MPARK_DISPATCH(B + 8);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1233:34: error: expected ‘;’ before ‘)’ token
case B + 8: return MPARK_DISPATCH(B + 8);
^
/usr/include/arrow/vendored/variant.hpp:1233:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1234:34: error: wrong number of template arguments (1, should be at least 2)
case B + 9: return MPARK_DISPATCH(B + 9);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1234:34: error: expected ‘;’ before ‘)’ token
case B + 9: return MPARK_DISPATCH(B + 9);
^
/usr/include/arrow/vendored/variant.hpp:1234:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1235:35: error: wrong number of template arguments (1, should be at least 2)
case B + 10: return MPARK_DISPATCH(B + 10);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1235:35: error: expected ‘;’ before ‘)’ token
case B + 10: return MPARK_DISPATCH(B + 10);
^
/usr/include/arrow/vendored/variant.hpp:1235:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1236:35: error: wrong number of template arguments (1, should be at least 2)
case B + 11: return MPARK_DISPATCH(B + 11);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1236:35: error: expected ‘;’ before ‘)’ token
case B + 11: return MPARK_DISPATCH(B + 11);
^
/usr/include/arrow/vendored/variant.hpp:1236:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1237:35: error: wrong number of template arguments (1, should be at least 2)
case B + 12: return MPARK_DISPATCH(B + 12);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1237:35: error: expected ‘;’ before ‘)’ token
case B + 12: return MPARK_DISPATCH(B + 12);
^
/usr/include/arrow/vendored/variant.hpp:1237:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1238:35: error: wrong number of template arguments (1, should be at least 2)
case B + 13: return MPARK_DISPATCH(B + 13);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1238:35: error: expected ‘;’ before ‘)’ token
case B + 13: return MPARK_DISPATCH(B + 13);
^
/usr/include/arrow/vendored/variant.hpp:1238:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1239:35: error: wrong number of template arguments (1, should be at least 2)
case B + 14: return MPARK_DISPATCH(B + 14);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1239:35: error: expected ‘;’ before ‘)’ token
case B + 14: return MPARK_DISPATCH(B + 14);
^
/usr/include/arrow/vendored/variant.hpp:1239:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1240:35: error: wrong number of template arguments (1, should be at least 2)
case B + 15: return MPARK_DISPATCH(B + 15);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1240:35: error: expected ‘;’ before ‘)’ token
case B + 15: return MPARK_DISPATCH(B + 15);
^
/usr/include/arrow/vendored/variant.hpp:1240:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1241:35: error: wrong number of template arguments (1, should be at least 2)
case B + 16: return MPARK_DISPATCH(B + 16);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1241:35: error: expected ‘;’ before ‘)’ token
case B + 16: return MPARK_DISPATCH(B + 16);
^
/usr/include/arrow/vendored/variant.hpp:1241:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1242:35: error: wrong number of template arguments (1, should be at least 2)
case B + 17: return MPARK_DISPATCH(B + 17);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1242:35: error: expected ‘;’ before ‘)’ token
case B + 17: return MPARK_DISPATCH(B + 17);
^
/usr/include/arrow/vendored/variant.hpp:1242:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1243:35: error: wrong number of template arguments (1, should be at least 2)
case B + 18: return MPARK_DISPATCH(B + 18);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1243:35: error: expected ‘;’ before ‘)’ token
case B + 18: return MPARK_DISPATCH(B + 18);
^
/usr/include/arrow/vendored/variant.hpp:1243:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1244:35: error: wrong number of template arguments (1, should be at least 2)
case B + 19: return MPARK_DISPATCH(B + 19);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1244:35: error: expected ‘;’ before ‘)’ token
case B + 19: return MPARK_DISPATCH(B + 19);
^
/usr/include/arrow/vendored/variant.hpp:1244:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1245:35: error: wrong number of template arguments (1, should be at least 2)
case B + 20: return MPARK_DISPATCH(B + 20);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1245:35: error: expected ‘;’ before ‘)’ token
case B + 20: return MPARK_DISPATCH(B + 20);
^
/usr/include/arrow/vendored/variant.hpp:1245:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1246:35: error: wrong number of template arguments (1, should be at least 2)
case B + 21: return MPARK_DISPATCH(B + 21);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1246:35: error: expected ‘;’ before ‘)’ token
case B + 21: return MPARK_DISPATCH(B + 21);
^
/usr/include/arrow/vendored/variant.hpp:1246:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1247:35: error: wrong number of template arguments (1, should be at least 2)
case B + 22: return MPARK_DISPATCH(B + 22);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1247:35: error: expected ‘;’ before ‘)’ token
case B + 22: return MPARK_DISPATCH(B + 22);
^
/usr/include/arrow/vendored/variant.hpp:1247:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1248:35: error: wrong number of template arguments (1, should be at least 2)
case B + 23: return MPARK_DISPATCH(B + 23);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1248:35: error: expected ‘;’ before ‘)’ token
case B + 23: return MPARK_DISPATCH(B + 23);
^
/usr/include/arrow/vendored/variant.hpp:1248:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1249:35: error: wrong number of template arguments (1, should be at least 2)
case B + 24: return MPARK_DISPATCH(B + 24);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1249:35: error: expected ‘;’ before ‘)’ token
case B + 24: return MPARK_DISPATCH(B + 24);
^
/usr/include/arrow/vendored/variant.hpp:1249:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1250:35: error: wrong number of template arguments (1, should be at least 2)
case B + 25: return MPARK_DISPATCH(B + 25);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1250:35: error: expected ‘;’ before ‘)’ token
case B + 25: return MPARK_DISPATCH(B + 25);
^
/usr/include/arrow/vendored/variant.hpp:1250:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1251:35: error: wrong number of template arguments (1, should be at least 2)
case B + 26: return MPARK_DISPATCH(B + 26);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1251:35: error: expected ‘;’ before ‘)’ token
case B + 26: return MPARK_DISPATCH(B + 26);
^
/usr/include/arrow/vendored/variant.hpp:1251:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1252:35: error: wrong number of template arguments (1, should be at least 2)
case B + 27: return MPARK_DISPATCH(B + 27);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1252:35: error: expected ‘;’ before ‘)’ token
case B + 27: return MPARK_DISPATCH(B + 27);
^
/usr/include/arrow/vendored/variant.hpp:1252:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1253:35: error: wrong number of template arguments (1, should be at least 2)
case B + 28: return MPARK_DISPATCH(B + 28);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1253:35: error: expected ‘;’ before ‘)’ token
case B + 28: return MPARK_DISPATCH(B + 28);
^
/usr/include/arrow/vendored/variant.hpp:1253:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1254:35: error: wrong number of template arguments (1, should be at least 2)
case B + 29: return MPARK_DISPATCH(B + 29);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1254:35: error: expected ‘;’ before ‘)’ token
case B + 29: return MPARK_DISPATCH(B + 29);
^
/usr/include/arrow/vendored/variant.hpp:1254:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1255:35: error: wrong number of template arguments (1, should be at least 2)
case B + 30: return MPARK_DISPATCH(B + 30);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1255:35: error: expected ‘;’ before ‘)’ token
case B + 30: return MPARK_DISPATCH(B + 30);
^
/usr/include/arrow/vendored/variant.hpp:1255:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1256:35: error: wrong number of template arguments (1, should be at least 2)
case B + 31: return MPARK_DISPATCH(B + 31);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1256:35: error: expected ‘;’ before ‘)’ token
case B + 31: return MPARK_DISPATCH(B + 31);
^
/usr/include/arrow/vendored/variant.hpp:1256:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1257:31: error: wrong number of template arguments (1, should be at least 2)
default: return MPARK_DEFAULT(B + 32);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1257:31: error: expected ‘;’ before ‘)’ token
default: return MPARK_DEFAULT(B + 32);
^
/usr/include/arrow/vendored/variant.hpp:1257:31: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr R mpark::detail::visitation::base::dispatcher<true, R, ITs ...>::dispatch_case(F&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1269:17: error: ‘lib’ was not declared in this scope
lib::invoke(lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1269:17: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1269:17: error: ‘lib’ is not a class, namespace, or enumeration
lib::invoke(lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1269:29: error: ‘lib’ is not a class, namespace, or enumeration
lib::invoke(lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1269:43: error: expected primary-expression before ‘>’ token
lib::invoke(lib::forward<F>(f),
^
/usr/include/arrow/vendored/variant.hpp:1270:54: error: ‘lib’ is not a class, namespace, or enumeration
access::base::get_alt<I>(lib::forward<Vs>(vs))...));
^~~
/usr/include/arrow/vendored/variant.hpp:1270:69: error: expected primary-expression before ‘>’ token
access::base::get_alt<I>(lib::forward<Vs>(vs))...));
^
/usr/include/arrow/vendored/variant.hpp:1271:54: error: ‘Actual’ was not declared in this scope
return visit_return_type_check<Expected, Actual>::invoke(
^~~~~~
/usr/include/arrow/vendored/variant.hpp:1271:60: error: template argument 2 is invalid
return visit_return_type_check<Expected, Actual>::invoke(
^
/usr/include/arrow/vendored/variant.hpp:1272:17: error: ‘lib’ is not a class, namespace, or enumeration
lib::forward<F>(f),
^~~
/usr/include/arrow/vendored/variant.hpp:1272:31: error: expected primary-expression before ‘>’ token
lib::forward<F>(f),
^
/usr/include/arrow/vendored/variant.hpp:1273:42: error: ‘lib’ is not a class, namespace, or enumeration
access::base::get_alt<I>(lib::forward<Vs>(vs))...);
^~~
/usr/include/arrow/vendored/variant.hpp:1273:57: error: expected primary-expression before ‘>’ token
access::base::get_alt<I>(lib::forward<Vs>(vs))...);
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr R mpark::detail::visitation::base::dispatcher<true, R, ITs ...>::dispatch_at(std::size_t, F&&, V&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1281:27: error: ‘lib’ has not been declared
static_assert(lib::all<(lib::decay_t<V>::size() ==
^~~
/usr/include/arrow/vendored/variant.hpp:1281:37: error: ‘lib’ has not been declared
static_assert(lib::all<(lib::decay_t<V>::size() ==
^~~
/usr/include/arrow/vendored/variant.hpp:1281:51: error: expected primary-expression before ‘>’ token
static_assert(lib::all<(lib::decay_t<V>::size() ==
^
/usr/include/arrow/vendored/variant.hpp:1281:54: error: ‘::size’ has not been declared
static_assert(lib::all<(lib::decay_t<V>::size() ==
^~~~
/usr/include/arrow/vendored/variant.hpp:1281:54: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:2223:16: note: ‘at::size’
inline int64_t size(const Tensor& tensor, int64_t dim) {
^~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
In file included from /home/xxx/libtorch/include/c10/util/Metaprogramming.h:6:0,
from /home/xxx/libtorch/include/c10/util/Optional.h:39,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/TypeList.h:30:38: note: ‘c10::guts::typelist::size’
template<class TypeList> struct size final {
^~~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:2223:16: note: ‘at::size’
inline int64_t size(const Tensor& tensor, int64_t dim) {
^~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:914:19: note: ‘at::native::size’
TORCH_API int64_t size(const Tensor & self, Dimname dim);
^~~~
In file included from /usr/include/boost/range/functions.hpp:20:0,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/range/as_literal.hpp:22,
from /usr/include/boost/algorithm/string/trim.hpp:19,
from /usr/include/boost/algorithm/string.hpp:19,
from /home/xxx/main.cpp:6:
/usr/include/boost/range/size.hpp:55:5: note: ‘boost::size’
size(const SinglePassRange& rng)
^~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1282:37: error: ‘lib’ has not been declared
lib::decay_t<Vs>::size())...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:1282:52: error: expected primary-expression before ‘>’ token
lib::decay_t<Vs>::size())...>::value,
^
/usr/include/arrow/vendored/variant.hpp:1282:55: error: ‘::size’ has not been declared
lib::decay_t<Vs>::size())...>::value,
^~~~
/usr/include/arrow/vendored/variant.hpp:1282:55: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:2223:16: note: ‘at::size’
inline int64_t size(const Tensor& tensor, int64_t dim) {
^~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
In file included from /home/xxx/libtorch/include/c10/util/Metaprogramming.h:6:0,
from /home/xxx/libtorch/include/c10/util/Optional.h:39,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/TypeList.h:30:38: note: ‘c10::guts::typelist::size’
template<class TypeList> struct size final {
^~~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::size’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:2223:16: note: ‘at::size’
inline int64_t size(const Tensor& tensor, int64_t dim) {
^~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:914:19: note: ‘at::native::size’
TORCH_API int64_t size(const Tensor & self, Dimname dim);
^~~~
In file included from /usr/include/boost/range/functions.hpp:20:0,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/range/as_literal.hpp:22,
from /usr/include/boost/algorithm/string/trim.hpp:19,
from /usr/include/boost/algorithm/string.hpp:19,
from /home/xxx/main.cpp:6:
/usr/include/boost/range/size.hpp:55:5: note: ‘boost::size’
size(const SinglePassRange& rng)
^~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1282:62: error: expected ‘,’ before ‘...’ token
lib::decay_t<Vs>::size())...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:1282:62: error: expected string-literal before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:1282:62: error: expected ‘)’ before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:1293:34: error: ‘lib’ was not declared in this scope
case B + 0: return MPARK_DISPATCH_AT(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1293:34: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1293:34: error: wrong number of template arguments (1, should be at least 2)
case B + 0: return MPARK_DISPATCH_AT(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1293:34: error: expected ‘;’ before ‘)’ token
case B + 0: return MPARK_DISPATCH_AT(B + 0);
^
/usr/include/arrow/vendored/variant.hpp:1293:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1294:34: error: wrong number of template arguments (1, should be at least 2)
case B + 1: return MPARK_DISPATCH_AT(B + 1);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1294:34: error: expected ‘;’ before ‘)’ token
case B + 1: return MPARK_DISPATCH_AT(B + 1);
^
/usr/include/arrow/vendored/variant.hpp:1294:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1295:34: error: wrong number of template arguments (1, should be at least 2)
case B + 2: return MPARK_DISPATCH_AT(B + 2);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1295:34: error: expected ‘;’ before ‘)’ token
case B + 2: return MPARK_DISPATCH_AT(B + 2);
^
/usr/include/arrow/vendored/variant.hpp:1295:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1296:34: error: wrong number of template arguments (1, should be at least 2)
case B + 3: return MPARK_DISPATCH_AT(B + 3);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1296:34: error: expected ‘;’ before ‘)’ token
case B + 3: return MPARK_DISPATCH_AT(B + 3);
^
/usr/include/arrow/vendored/variant.hpp:1296:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1297:34: error: wrong number of template arguments (1, should be at least 2)
case B + 4: return MPARK_DISPATCH_AT(B + 4);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1297:34: error: expected ‘;’ before ‘)’ token
case B + 4: return MPARK_DISPATCH_AT(B + 4);
^
/usr/include/arrow/vendored/variant.hpp:1297:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1298:34: error: wrong number of template arguments (1, should be at least 2)
case B + 5: return MPARK_DISPATCH_AT(B + 5);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1298:34: error: expected ‘;’ before ‘)’ token
case B + 5: return MPARK_DISPATCH_AT(B + 5);
^
/usr/include/arrow/vendored/variant.hpp:1298:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1299:34: error: wrong number of template arguments (1, should be at least 2)
case B + 6: return MPARK_DISPATCH_AT(B + 6);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1299:34: error: expected ‘;’ before ‘)’ token
case B + 6: return MPARK_DISPATCH_AT(B + 6);
^
/usr/include/arrow/vendored/variant.hpp:1299:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1300:34: error: wrong number of template arguments (1, should be at least 2)
case B + 7: return MPARK_DISPATCH_AT(B + 7);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1300:34: error: expected ‘;’ before ‘)’ token
case B + 7: return MPARK_DISPATCH_AT(B + 7);
^
/usr/include/arrow/vendored/variant.hpp:1300:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1301:34: error: wrong number of template arguments (1, should be at least 2)
case B + 8: return MPARK_DISPATCH_AT(B + 8);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1301:34: error: expected ‘;’ before ‘)’ token
case B + 8: return MPARK_DISPATCH_AT(B + 8);
^
/usr/include/arrow/vendored/variant.hpp:1301:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1302:34: error: wrong number of template arguments (1, should be at least 2)
case B + 9: return MPARK_DISPATCH_AT(B + 9);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1302:34: error: expected ‘;’ before ‘)’ token
case B + 9: return MPARK_DISPATCH_AT(B + 9);
^
/usr/include/arrow/vendored/variant.hpp:1302:34: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1303:35: error: wrong number of template arguments (1, should be at least 2)
case B + 10: return MPARK_DISPATCH_AT(B + 10);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1303:35: error: expected ‘;’ before ‘)’ token
case B + 10: return MPARK_DISPATCH_AT(B + 10);
^
/usr/include/arrow/vendored/variant.hpp:1303:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1304:35: error: wrong number of template arguments (1, should be at least 2)
case B + 11: return MPARK_DISPATCH_AT(B + 11);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1304:35: error: expected ‘;’ before ‘)’ token
case B + 11: return MPARK_DISPATCH_AT(B + 11);
^
/usr/include/arrow/vendored/variant.hpp:1304:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1305:35: error: wrong number of template arguments (1, should be at least 2)
case B + 12: return MPARK_DISPATCH_AT(B + 12);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1305:35: error: expected ‘;’ before ‘)’ token
case B + 12: return MPARK_DISPATCH_AT(B + 12);
^
/usr/include/arrow/vendored/variant.hpp:1305:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1306:35: error: wrong number of template arguments (1, should be at least 2)
case B + 13: return MPARK_DISPATCH_AT(B + 13);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1306:35: error: expected ‘;’ before ‘)’ token
case B + 13: return MPARK_DISPATCH_AT(B + 13);
^
/usr/include/arrow/vendored/variant.hpp:1306:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1307:35: error: wrong number of template arguments (1, should be at least 2)
case B + 14: return MPARK_DISPATCH_AT(B + 14);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1307:35: error: expected ‘;’ before ‘)’ token
case B + 14: return MPARK_DISPATCH_AT(B + 14);
^
/usr/include/arrow/vendored/variant.hpp:1307:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1308:35: error: wrong number of template arguments (1, should be at least 2)
case B + 15: return MPARK_DISPATCH_AT(B + 15);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1308:35: error: expected ‘;’ before ‘)’ token
case B + 15: return MPARK_DISPATCH_AT(B + 15);
^
/usr/include/arrow/vendored/variant.hpp:1308:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1309:35: error: wrong number of template arguments (1, should be at least 2)
case B + 16: return MPARK_DISPATCH_AT(B + 16);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1309:35: error: expected ‘;’ before ‘)’ token
case B + 16: return MPARK_DISPATCH_AT(B + 16);
^
/usr/include/arrow/vendored/variant.hpp:1309:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1310:35: error: wrong number of template arguments (1, should be at least 2)
case B + 17: return MPARK_DISPATCH_AT(B + 17);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1310:35: error: expected ‘;’ before ‘)’ token
case B + 17: return MPARK_DISPATCH_AT(B + 17);
^
/usr/include/arrow/vendored/variant.hpp:1310:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1311:35: error: wrong number of template arguments (1, should be at least 2)
case B + 18: return MPARK_DISPATCH_AT(B + 18);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1311:35: error: expected ‘;’ before ‘)’ token
case B + 18: return MPARK_DISPATCH_AT(B + 18);
^
/usr/include/arrow/vendored/variant.hpp:1311:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1312:35: error: wrong number of template arguments (1, should be at least 2)
case B + 19: return MPARK_DISPATCH_AT(B + 19);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1312:35: error: expected ‘;’ before ‘)’ token
case B + 19: return MPARK_DISPATCH_AT(B + 19);
^
/usr/include/arrow/vendored/variant.hpp:1312:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1313:35: error: wrong number of template arguments (1, should be at least 2)
case B + 20: return MPARK_DISPATCH_AT(B + 20);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1313:35: error: expected ‘;’ before ‘)’ token
case B + 20: return MPARK_DISPATCH_AT(B + 20);
^
/usr/include/arrow/vendored/variant.hpp:1313:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1314:35: error: wrong number of template arguments (1, should be at least 2)
case B + 21: return MPARK_DISPATCH_AT(B + 21);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1314:35: error: expected ‘;’ before ‘)’ token
case B + 21: return MPARK_DISPATCH_AT(B + 21);
^
/usr/include/arrow/vendored/variant.hpp:1314:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1315:35: error: wrong number of template arguments (1, should be at least 2)
case B + 22: return MPARK_DISPATCH_AT(B + 22);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1315:35: error: expected ‘;’ before ‘)’ token
case B + 22: return MPARK_DISPATCH_AT(B + 22);
^
/usr/include/arrow/vendored/variant.hpp:1315:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1316:35: error: wrong number of template arguments (1, should be at least 2)
case B + 23: return MPARK_DISPATCH_AT(B + 23);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1316:35: error: expected ‘;’ before ‘)’ token
case B + 23: return MPARK_DISPATCH_AT(B + 23);
^
/usr/include/arrow/vendored/variant.hpp:1316:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1317:35: error: wrong number of template arguments (1, should be at least 2)
case B + 24: return MPARK_DISPATCH_AT(B + 24);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1317:35: error: expected ‘;’ before ‘)’ token
case B + 24: return MPARK_DISPATCH_AT(B + 24);
^
/usr/include/arrow/vendored/variant.hpp:1317:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1318:35: error: wrong number of template arguments (1, should be at least 2)
case B + 25: return MPARK_DISPATCH_AT(B + 25);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1318:35: error: expected ‘;’ before ‘)’ token
case B + 25: return MPARK_DISPATCH_AT(B + 25);
^
/usr/include/arrow/vendored/variant.hpp:1318:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1319:35: error: wrong number of template arguments (1, should be at least 2)
case B + 26: return MPARK_DISPATCH_AT(B + 26);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1319:35: error: expected ‘;’ before ‘)’ token
case B + 26: return MPARK_DISPATCH_AT(B + 26);
^
/usr/include/arrow/vendored/variant.hpp:1319:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1320:35: error: wrong number of template arguments (1, should be at least 2)
case B + 27: return MPARK_DISPATCH_AT(B + 27);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1320:35: error: expected ‘;’ before ‘)’ token
case B + 27: return MPARK_DISPATCH_AT(B + 27);
^
/usr/include/arrow/vendored/variant.hpp:1320:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1321:35: error: wrong number of template arguments (1, should be at least 2)
case B + 28: return MPARK_DISPATCH_AT(B + 28);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1321:35: error: expected ‘;’ before ‘)’ token
case B + 28: return MPARK_DISPATCH_AT(B + 28);
^
/usr/include/arrow/vendored/variant.hpp:1321:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1322:35: error: wrong number of template arguments (1, should be at least 2)
case B + 29: return MPARK_DISPATCH_AT(B + 29);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1322:35: error: expected ‘;’ before ‘)’ token
case B + 29: return MPARK_DISPATCH_AT(B + 29);
^
/usr/include/arrow/vendored/variant.hpp:1322:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1323:35: error: wrong number of template arguments (1, should be at least 2)
case B + 30: return MPARK_DISPATCH_AT(B + 30);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1323:35: error: expected ‘;’ before ‘)’ token
case B + 30: return MPARK_DISPATCH_AT(B + 30);
^
/usr/include/arrow/vendored/variant.hpp:1323:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1324:35: error: wrong number of template arguments (1, should be at least 2)
case B + 31: return MPARK_DISPATCH_AT(B + 31);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1324:35: error: expected ‘;’ before ‘)’ token
case B + 31: return MPARK_DISPATCH_AT(B + 31);
^
/usr/include/arrow/vendored/variant.hpp:1324:35: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp:1325:31: error: wrong number of template arguments (1, should be at least 2)
default: return MPARK_DEFAULT(B + 32);
^
/usr/include/arrow/vendored/variant.hpp:1165:16: note: provided for ‘template<bool B, class R, class ... ITs> struct mpark::detail::visitation::base::dispatcher’
struct dispatcher;
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1325:31: error: expected ‘;’ before ‘)’ token
default: return MPARK_DEFAULT(B + 32);
^
/usr/include/arrow/vendored/variant.hpp:1325:31: error: expected primary-expression before ‘)’ token
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::alt::visit_alt(Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1476:11: error: ‘dispatch_result_t’ is not a member of ‘mpark::detail::visitation::base’
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: error: ‘dispatch_result_t’ is not a member of ‘mpark::detail::visitation::base’
/usr/include/arrow/vendored/variant.hpp:1476:11: error: ‘lib’ was not declared in this scope
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1476:11: error: there are no arguments to ‘as_base’ that depend on a template parameter, so a declaration of ‘as_base’ must be available [-fpermissive]
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/arrow/vendored/variant.hpp:1476:11: error: ‘lib’ is not a class, namespace, or enumeration
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: error: template argument 2 is invalid
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: error: expected id-expression before ‘template’
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1476:11: error: expected ‘;’ before ‘template’
/usr/include/arrow/vendored/variant.hpp:1476:11: error: expected primary-expression before ‘template’
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::alt::visit_alt_at(std::size_t, Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1503:11: error: ‘dispatch_result_t’ is not a member of ‘mpark::detail::visitation::base’
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: ‘dispatch_result_t’ is not a member of ‘mpark::detail::visitation::base’
/usr/include/arrow/vendored/variant.hpp:1503:11: error: ‘lib’ was not declared in this scope
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1503:11: error: there are no arguments to ‘as_base’ that depend on a template parameter, so a declaration of ‘as_base’ must be available [-fpermissive]
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: ‘lib’ is not a class, namespace, or enumeration
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: template argument 2 is invalid
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: expected id-expression before ‘template’
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1503:11: error: expected ‘;’ before ‘template’
/usr/include/arrow/vendored/variant.hpp:1503:11: error: expected primary-expression before ‘template’
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr bool mpark::detail::visitation::variant::visitor<Visitor>::does_not_handle()’:
/usr/include/arrow/vendored/variant.hpp:1533:20: error: ‘lib’ has not been declared
return lib::is_invocable<Visitor, Values...>::value;
^~~
/usr/include/arrow/vendored/variant.hpp:1533:45: error: expected primary-expression before ‘,’ token
return lib::is_invocable<Visitor, Values...>::value;
^
/usr/include/arrow/vendored/variant.hpp:1533:53: error: expected primary-expression before ‘...’ token
return lib::is_invocable<Visitor, Values...>::value;
^~~
/usr/include/arrow/vendored/variant.hpp:1533:53: error: expected ‘;’ before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:1533:53: error: expected primary-expression before ‘...’ token
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::variant::visit_exhaustiveness_check<Visitor, Values>::invoke(Visitor&&, Values&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1544:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1544:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1544:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1544:13: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1544:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(lib::invoke(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘constexpr decltype(auto) mpark::detail::visitation::variant::value_visitor<Visitor>::operator()(Alts&& ...) const’:
/usr/include/arrow/vendored/variant.hpp:1554:13: error: ‘lib’ was not declared in this scope
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1554:13: error: ‘lib’ is not a class, namespace, or enumeration
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: error: ‘lib’ is not a class, namespace, or enumeration
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: error: ‘lib’ is not a class, namespace, or enumeration
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1554:13: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr auto mpark::detail::visitation::variant::make_value_visitor(Visitor&&)’:
/usr/include/arrow/vendored/variant.hpp:1564:11: error: ‘lib’ was not declared in this scope
AUTO_RETURN(value_visitor<Visitor>{lib::forward<Visitor>(visitor)})
^
/usr/include/arrow/vendored/variant.hpp:1564:11: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1564:11: error: expected primary-expression before ‘{’ token
AUTO_RETURN(value_visitor<Visitor>{lib::forward<Visitor>(visitor)})
^
/usr/include/arrow/vendored/variant.hpp:1564:11: error: expected ‘;’ before ‘{’ token
/usr/include/arrow/vendored/variant.hpp:1564:11: error: ‘lib’ is not a class, namespace, or enumeration
AUTO_RETURN(value_visitor<Visitor>{lib::forward<Visitor>(visitor)})
^
/usr/include/arrow/vendored/variant.hpp:1564:11: error: expected primary-expression before ‘>’ token
AUTO_RETURN(value_visitor<Visitor>{lib::forward<Visitor>(visitor)})
^
/usr/include/arrow/vendored/variant.hpp:1564:11: error: expected ‘;’ before ‘}’ token
AUTO_RETURN(value_visitor<Visitor>{lib::forward<Visitor>(visitor)})
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::variant::visit_alt(Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1570:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(alt::visit_alt(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1570:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(alt::visit_alt(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1570:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(alt::visit_alt(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp:1570:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(alt::visit_alt(lib::forward<Visitor>(visitor),
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::variant::visit_alt_at(std::size_t, Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1577:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1577:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1577:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1577:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::variant::visit_value(Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1585:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1585:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1585:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1585:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static constexpr decltype(auto) mpark::detail::visitation::variant::visit_value_at(std::size_t, Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1593:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1593:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1593:11: error: ‘lib’ has not been declared
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:1593:11: error: expected primary-expression before ‘>’ token
DECLTYPE_AUTO_RETURN(
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:1610:47: error: expected ‘)’ before ‘,’ token
inline explicit constexpr alt(in_place_t, Args &&... args)
^
/usr/include/arrow/vendored/variant.hpp:1658:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::TriviallyAvailable,
^
/usr/include/arrow/vendored/variant.hpp:1658:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::TriviallyAvailable,
^
/usr/include/arrow/vendored/variant.hpp:1658:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::TriviallyAvailable,
^
/usr/include/arrow/vendored/variant.hpp:1658:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::TriviallyAvailable,
^
/usr/include/arrow/vendored/variant.hpp:1660:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Available,
^
/usr/include/arrow/vendored/variant.hpp:1660:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Available,
^
/usr/include/arrow/vendored/variant.hpp:1660:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Available,
^
/usr/include/arrow/vendored/variant.hpp:1660:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Available,
^
/usr/include/arrow/vendored/variant.hpp:1662:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Unavailable,
^
/usr/include/arrow/vendored/variant.hpp:1662:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Unavailable,
^
/usr/include/arrow/vendored/variant.hpp:1662:5: error: expected ‘)’ before ‘<’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Unavailable,
^
/usr/include/arrow/vendored/variant.hpp:1662:5: error: expected unqualified-id before ‘,’ token
MPARK_VARIANT_RECURSIVE_UNION(Trait::Unavailable,
^
/usr/include/arrow/vendored/variant.hpp:1684:54: error: expected ‘)’ before ‘<’ token
inline explicit constexpr base(in_place_index_t<I>, Args &&... args)
^
/usr/include/arrow/vendored/variant.hpp:1685:40: error: expected unqualified-id before ‘,’ token
: data_(in_place_index_t<I>{}, lib::forward<Args>(args)...),
^
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr mpark::detail::base<DestructibleTrait, Ts>&& mpark::detail::as_base(mpark::detail::base<DestructibleTrait, Ts>&&)’:
/usr/include/arrow/vendored/variant.hpp:1701:65: error: ‘lib’ has not been declared
friend inline constexpr base &&as_base(base &&b) { return lib::move(b); }
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr const mpark::detail::base<DestructibleTrait, Ts>&& mpark::detail::as_base(const mpark::detail::base<DestructibleTrait, Ts>&&)’:
/usr/include/arrow/vendored/variant.hpp:1702:77: error: ‘lib’ has not been declared
friend inline constexpr const base &&as_base(const base &&b) { return lib::move(b); }
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr mpark::detail::base<DestructibleTrait, Ts>::data_t&& mpark::detail::data(mpark::detail::base<DestructibleTrait, Ts>&&)’:
/usr/include/arrow/vendored/variant.hpp:1706:64: error: ‘lib’ has not been declared
friend inline constexpr data_t &&data(base &&b) { return lib::move(b).data_; }
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr const data_t&& mpark::detail::data(const mpark::detail::base<DestructibleTrait, Ts>&&)’:
/usr/include/arrow/vendored/variant.hpp:1707:76: error: ‘lib’ has not been declared
friend inline constexpr const data_t &&data(const base &&b) { return lib::move(b).data_; }
^~~
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static T& mpark::detail::constructor<Traits>::construct_alt(mpark::detail::alt<I, T>&, Args&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1807:51: error: ‘lib’ was not declared in this scope
auto *result = ::new (static_cast<void *>(lib::addressof(a)))
^~~
/usr/include/arrow/vendored/variant.hpp:1807:51: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1807:31: error: expected type-specifier before ‘static_cast’
auto *result = ::new (static_cast<void *>(lib::addressof(a)))
^~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:1807:31: error: expected ‘)’ before ‘static_cast’
/usr/include/arrow/vendored/variant.hpp:1808:37: error: ‘lib’ is not a class, namespace, or enumeration
alt<I, T>(in_place_t{}, lib::forward<Args>(args)...);
^~~
/usr/include/arrow/vendored/variant.hpp:1808:49: error: qualified-id in declaration before ‘<’ token
alt<I, T>(in_place_t{}, lib::forward<Args>(args)...);
^
/usr/include/arrow/vendored/variant.hpp: In lambda function:
/usr/include/arrow/vendored/variant.hpp:1821:30: error: ‘lib’ has not been declared
lhs_alt, lib::forward<decltype(rhs_alt)>(rhs_alt).value);
^~~
/usr/include/arrow/vendored/variant.hpp:1821:43: error: expected primary-expression before ‘decltype’
lhs_alt, lib::forward<decltype(rhs_alt)>(rhs_alt).value);
^~~~~~~~
/usr/include/arrow/vendored/variant.hpp: In static member function ‘static void mpark::detail::constructor<Traits>::generic_construct(mpark::detail::constructor<Traits>&, Rhs&&)’:
/usr/include/arrow/vendored/variant.hpp:1828:15: error: ‘lib’ has not been declared
lib::forward<Rhs>(rhs));
^~~
/usr/include/arrow/vendored/variant.hpp:1828:31: error: expected primary-expression before ‘>’ token
lib::forward<Rhs>(rhs));
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:1858:5: error: ‘lib’ has not been declared
MPARK_VARIANT_MOVE_CONSTRUCTOR(
^
/usr/include/arrow/vendored/variant.hpp:1858:5: error: expected ‘)’ before ‘...’ token
MPARK_VARIANT_MOVE_CONSTRUCTOR(
^
/usr/include/arrow/vendored/variant.hpp:1858:5: error: parameter packs not expanded with ‘...’:
/usr/include/arrow/vendored/variant.hpp:1858:5: note: ‘Ts’
/usr/include/arrow/vendored/variant.hpp:1858:5: error: expected ‘;’ at end of member declaration
MPARK_VARIANT_MOVE_CONSTRUCTOR(
^
/usr/include/arrow/vendored/variant.hpp:1858:5: error: expected unqualified-id before ‘...’ token
MPARK_VARIANT_MOVE_CONSTRUCTOR(
^
/usr/include/arrow/vendored/variant.hpp:1858:5: error: expected unqualified-id before ‘)’ token
MPARK_VARIANT_MOVE_CONSTRUCTOR(
^
/usr/include/arrow/vendored/variant.hpp:1920:43: error: ‘lib’ was not declared in this scope
lib::forward<Args>(args)...)) {
^~~
/usr/include/arrow/vendored/variant.hpp:1920:43: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:1920:43: error: ‘lib’ has not been declared
lib::forward<Args>(args)...)) {
^~~
/usr/include/arrow/vendored/variant.hpp:1920:60: error: expected primary-expression before ‘>’ token
lib::forward<Args>(args)...)) {
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘decltype (((mpark::detail::assignment<Traits>*)this)->construct_alt(mpark::detail::access::base:: get_alt<I>((*(mpark::detail::assignment<Traits>*)this)), <erroneous-expression> > args ...)) mpark::detail::assignment<Traits>::emplace(Args&& ...)’:
/usr/include/arrow/vendored/variant.hpp:1923:44: error: ‘lib’ has not been declared
lib::forward<Args>(args)...);
^~~
/usr/include/arrow/vendored/variant.hpp:1923:61: error: expected primary-expression before ‘>’ token
lib::forward<Args>(args)...);
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::assignment<Traits>::assign_alt(mpark::detail::alt<I, T>&, Arg&&)’:
/usr/include/arrow/vendored/variant.hpp:1947:21: error: ‘lib’ has not been declared
a.value = lib::forward<Arg>(arg);
^~~
/usr/include/arrow/vendored/variant.hpp:1947:37: error: expected primary-expression before ‘>’ token
a.value = lib::forward<Arg>(arg);
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::assignment<Traits>::assign_alt(mpark::detail::alt<I, T>&, Arg&&)::<unnamed struct>::operator()(std::true_type) const’:
/usr/include/arrow/vendored/variant.hpp:1954:33: error: ‘lib’ has not been declared
this_->emplace<I>(lib::forward<Arg>(arg_));
^~~
/usr/include/arrow/vendored/variant.hpp:1954:49: error: expected primary-expression before ‘>’ token
this_->emplace<I>(lib::forward<Arg>(arg_));
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::assignment<Traits>::assign_alt(mpark::detail::alt<I, T>&, Arg&&)::<unnamed struct>::operator()(std::false_type) const’:
/usr/include/arrow/vendored/variant.hpp:1957:35: error: ‘lib’ was not declared in this scope
this_->emplace<I>(T(lib::forward<Arg>(arg_)));
^~~
/usr/include/arrow/vendored/variant.hpp:1957:35: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::assignment<Traits>::assign_alt(mpark::detail::alt<I, T>&, Arg&&)’:
/usr/include/arrow/vendored/variant.hpp:1961:24: error: ‘lib’ has not been declared
} impl{this, lib::forward<Arg>(arg)};
^~~
/usr/include/arrow/vendored/variant.hpp:1961:40: error: expected primary-expression before ‘>’ token
} impl{this, lib::forward<Arg>(arg)};
^
/usr/include/arrow/vendored/variant.hpp:1962:16: error: ‘lib’ has not been declared
impl(lib::bool_constant<
^~~
/usr/include/arrow/vendored/variant.hpp:1964:66: error: expected primary-expression before ‘{’ token
!std::is_nothrow_move_constructible<T>::value>{});
^
/usr/include/arrow/vendored/variant.hpp:1964:66: error: expected ‘)’ before ‘{’ token
/usr/include/arrow/vendored/variant.hpp: In lambda function:
/usr/include/arrow/vendored/variant.hpp:1980:31: error: ‘lib’ has not been declared
this_alt, lib::forward<decltype(that_alt)>(that_alt).value);
^~~
/usr/include/arrow/vendored/variant.hpp:1980:44: error: expected primary-expression before ‘decltype’
this_alt, lib::forward<decltype(that_alt)>(that_alt).value);
^~~~~~~~
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::assignment<Traits>::generic_assign(That&&)’:
/usr/include/arrow/vendored/variant.hpp:1987:15: error: ‘lib’ has not been declared
lib::forward<That>(that));
^~~
/usr/include/arrow/vendored/variant.hpp:1987:32: error: expected primary-expression before ‘>’ token
lib::forward<That>(that));
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:2016:5: error: ‘lib’ has not been declared
MPARK_VARIANT_MOVE_ASSIGNMENT(
^
/usr/include/arrow/vendored/variant.hpp:2016:5: error: expected ‘)’ before ‘...’ token
MPARK_VARIANT_MOVE_ASSIGNMENT(
^
/usr/include/arrow/vendored/variant.hpp:2016:5: error: parameter packs not expanded with ‘...’:
/usr/include/arrow/vendored/variant.hpp:2016:5: note: ‘Ts’
/usr/include/arrow/vendored/variant.hpp:2016:5: note: ‘Ts’
/usr/include/arrow/vendored/variant.hpp:2016:5: error: expected ‘;’ at end of member declaration
MPARK_VARIANT_MOVE_ASSIGNMENT(
^
/usr/include/arrow/vendored/variant.hpp:2016:5: error: expected unqualified-id before ‘...’ token
MPARK_VARIANT_MOVE_ASSIGNMENT(
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::impl<Ts>::assign(Arg&&)’:
/usr/include/arrow/vendored/variant.hpp:2086:26: error: ‘lib’ has not been declared
lib::forward<Arg>(arg));
^~~
/usr/include/arrow/vendored/variant.hpp:2086:42: error: expected primary-expression before ‘>’ token
lib::forward<Arg>(arg));
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘void mpark::detail::impl<Ts>::swap(mpark::detail::impl<Ts>&)’:
/usr/include/arrow/vendored/variant.hpp:2108:23: error: ‘lib’ has not been declared
impl *rhs = lib::addressof(that);
^~~
/usr/include/arrow/vendored/variant.hpp:2112:20: error: ‘lib’ has not been declared
impl tmp(lib::move(*rhs));
^~~
/usr/include/arrow/vendored/variant.hpp:2118:43: error: ‘lib’ has not been declared
this->generic_construct(*rhs, lib::move(*lhs));
^~~
/usr/include/arrow/vendored/variant.hpp:2121:45: error: ‘lib’ has not been declared
this->generic_construct(*rhs, lib::move(tmp));
^~~
/usr/include/arrow/vendored/variant.hpp:2128:41: error: ‘lib’ has not been declared
this->generic_construct(*lhs, lib::move(tmp));
^~~
/usr/include/arrow/vendored/variant.hpp: In member function ‘constexpr bool mpark::detail::impl<Ts>::move_nothrow() const’:
/usr/include/arrow/vendored/variant.hpp:2145:16: error: ‘lib’ has not been declared
lib::array<bool, sizeof...(Ts)>{
^~~
/usr/include/arrow/vendored/variant.hpp:2145:27: error: expected primary-expression before ‘bool’
lib::array<bool, sizeof...(Ts)>{
^~~~
/usr/include/arrow/vendored/variant.hpp:2145:27: error: expected ‘;’ before ‘bool’
/usr/include/arrow/vendored/variant.hpp:2145:31: error: expected unqualified-id before ‘,’ token
lib::array<bool, sizeof...(Ts)>{
^
/usr/include/arrow/vendored/variant.hpp:2145:33: error: expected unqualified-id before ‘sizeof’
lib::array<bool, sizeof...(Ts)>{
^~~~~~
/usr/include/arrow/vendored/variant.hpp:2147:22: error: expected ‘,’ before ‘->’ token
}[this->index()];
^~
/usr/include/arrow/vendored/variant.hpp:2147:22: error: expected identifier before ‘->’ token
/usr/include/arrow/vendored/variant.hpp: In lambda function:
/usr/include/arrow/vendored/variant.hpp:2147:32: error: expected ‘{’ before ‘;’ token
}[this->index()];
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:2176:20: error: ‘lib’ does not name a type; did you mean ‘link’?
using impl = lib::size_constant<I> (*)(T);
^~~
link
/usr/include/arrow/vendored/variant.hpp:2177:16: error: expected type-specifier before ‘impl’
operator impl() const { return nullptr; };
^~~~
/usr/include/arrow/vendored/variant.hpp:2188:9: error: ‘lib’ was not declared in this scope
lib::enable_if_t<
^~~
/usr/include/arrow/vendored/variant.hpp:2188:9: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2193:9: error: template argument 5 is invalid
> {
^
/usr/include/arrow/vendored/variant.hpp:2205:19: error: ‘lib’ was not declared in this scope
struct impl<lib::index_sequence<Is...>> : overload_leaf<Arg, Is, Ts>... {};
^~~
/usr/include/arrow/vendored/variant.hpp:2205:19: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2205:44: error: template argument 1 is invalid
struct impl<lib::index_sequence<Is...>> : overload_leaf<Arg, Is, Ts>... {};
^~
/usr/include/arrow/vendored/variant.hpp:2208:25: error: ‘lib’ was not declared in this scope
using type = impl<lib::index_sequence_for<Ts...>>;
^~~
/usr/include/arrow/vendored/variant.hpp:2208:25: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2208:54: error: template argument 1 is invalid
using type = impl<lib::index_sequence_for<Ts...>>;
^~
/usr/include/arrow/vendored/variant.hpp:2215:24: error: ‘lib’ does not name a type; did you mean ‘link’?
using best_match = lib::invoke_result_t<overload<Arg, Ts...>, Arg>;
^~~
link
/usr/include/arrow/vendored/variant.hpp:2221:30: error: ‘in_place_index_t’ was not declared in this scope
struct is_in_place_index<in_place_index_t<I>> : std::true_type {};
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2221:30: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
struct in_place_index_t { explicit in_place_index_t() = default; };
^~~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2221:47: error: template argument 1 is invalid
struct is_in_place_index<in_place_index_t<I>> : std::true_type {};
^
/usr/include/arrow/vendored/variant.hpp:2221:48: error: expected unqualified-id before ‘>’ token
struct is_in_place_index<in_place_index_t<I>> : std::true_type {};
^~
/usr/include/arrow/vendored/variant.hpp:2227:29: error: ‘in_place_type_t’ was not declared in this scope
struct is_in_place_type<in_place_type_t<T>> : std::true_type {};
^~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2227:29: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:13:8: note: ‘c10::in_place_type_t’
struct in_place_type_t { explicit in_place_type_t() = default; };
^~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:13:8: note: ‘c10::in_place_type_t’
/home/xxx/libtorch/include/c10/util/in_place.h:13:8: note: ‘c10::in_place_type_t’
/home/xxx/libtorch/include/c10/util/in_place.h:13:8: note: ‘c10::in_place_type_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2227:45: error: template argument 1 is invalid
struct is_in_place_type<in_place_type_t<T>> : std::true_type {};
^
/usr/include/arrow/vendored/variant.hpp:2227:46: error: expected unqualified-id before ‘>’ token
struct is_in_place_type<in_place_type_t<T>> : std::true_type {};
^~
/usr/include/arrow/vendored/variant.hpp:2236:19: error: ‘lib’ has not been declared
static_assert(lib::all<!std::is_array<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2236:53: error: expected ‘,’ before ‘...’ token
static_assert(lib::all<!std::is_array<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2236:53: error: expected string-literal before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2236:53: error: expected ‘)’ before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2239:19: error: ‘lib’ has not been declared
static_assert(lib::all<!std::is_reference<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2239:57: error: expected ‘,’ before ‘...’ token
static_assert(lib::all<!std::is_reference<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2239:57: error: expected string-literal before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2239:57: error: expected ‘)’ before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2242:19: error: ‘lib’ has not been declared
static_assert(lib::all<!std::is_void<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2242:52: error: expected ‘,’ before ‘...’ token
static_assert(lib::all<!std::is_void<Ts>::value...>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2242:52: error: expected string-literal before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2242:52: error: expected ‘)’ before ‘...’ token
/usr/include/arrow/vendored/variant.hpp:2247:26: error: ‘lib’ does not name a type; did you mean ‘link’?
typename Front = lib::type_pack_element_t<0, Ts...>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2247:29: error: expected ‘>’ before ‘::’ token
typename Front = lib::type_pack_element_t<0, Ts...>,
^~
/usr/include/arrow/vendored/variant.hpp:2258:28: error: ‘lib’ does not name a type; did you mean ‘link’?
typename Decayed = lib::decay_t<Arg>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2258:31: error: expected ‘>’ before ‘::’ token
typename Decayed = lib::decay_t<Arg>,
^~
/usr/include/arrow/vendored/variant.hpp:2266:39: error: ‘T’ was not declared in this scope
std::is_nothrow_constructible<T, Arg>::value)
^
/usr/include/arrow/vendored/variant.hpp:2266:39: note: suggested alternative: ‘Ts’
std::is_nothrow_constructible<T, Arg>::value)
^
Ts
/usr/include/arrow/vendored/variant.hpp:2266:45: error: template argument 1 is invalid
std::is_nothrow_constructible<T, Arg>::value)
^
/usr/include/arrow/vendored/variant.hpp:2272:22: error: ‘lib’ does not name a type; did you mean ‘link’?
typename T = lib::type_pack_element_t<I, Ts...>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2272:25: error: expected ‘>’ before ‘::’ token
typename T = lib::type_pack_element_t<I, Ts...>,
^~
/usr/include/arrow/vendored/variant.hpp:2275:25: error: expected ‘)’ before ‘<’ token
in_place_index_t<I>,
^
/usr/include/arrow/vendored/variant.hpp:2278:38: error: expected unqualified-id before ‘,’ token
: impl_(in_place_index_t<I>{}, lib::forward<Args>(args)...) {}
^
/usr/include/arrow/vendored/variant.hpp:2284:22: error: ‘lib’ does not name a type; did you mean ‘link’?
typename T = lib::type_pack_element_t<I, Ts...>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2284:25: error: expected ‘>’ before ‘::’ token
typename T = lib::type_pack_element_t<I, Ts...>,
^~
/usr/include/arrow/vendored/variant.hpp:2290:25: error: expected ‘)’ before ‘<’ token
in_place_index_t<I>,
^
/usr/include/arrow/vendored/variant.hpp:2297:38: error: expected unqualified-id before ‘,’ token
: impl_(in_place_index_t<I>{}, il, lib::forward<Args>(args)...) {}
^
/usr/include/arrow/vendored/variant.hpp:2302:33: error: ‘find_index_sfinae’ is not a member of ‘mpark::detail’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2302:33: note: suggested alternative: ‘find_index_checked’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
find_index_checked
/usr/include/arrow/vendored/variant.hpp:2302:52: error: expected primary-expression before ‘,’ token
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^
/usr/include/arrow/vendored/variant.hpp:2302:62: error: ‘value’ in namespace ‘::’ does not name a type
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~
/usr/include/arrow/vendored/variant.hpp:2308:38: error: expected unqualified-id before ‘,’ token
: impl_(in_place_index_t<I>{}, lib::forward<Args>(args)...) {}
^
/usr/include/arrow/vendored/variant.hpp:2314:33: error: ‘find_index_sfinae’ is not a member of ‘mpark::detail’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2314:33: note: suggested alternative: ‘find_index_checked’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
find_index_checked
/usr/include/arrow/vendored/variant.hpp:2314:52: error: expected primary-expression before ‘,’ token
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^
/usr/include/arrow/vendored/variant.hpp:2314:62: error: ‘value’ in namespace ‘::’ does not name a type
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~
/usr/include/arrow/vendored/variant.hpp:2327:38: error: expected unqualified-id before ‘,’ token
: impl_(in_place_index_t<I>{}, il, lib::forward<Args>(args)...) {}
^
/usr/include/arrow/vendored/variant.hpp:2335:15: error: ‘lib’ has not been declared
lib::enable_if_t<!std::is_same<lib::decay_t<Arg>, variant>::value,
^~~
/usr/include/arrow/vendored/variant.hpp:2335:31: error: expected ‘>’ before ‘<’ token
lib::enable_if_t<!std::is_same<lib::decay_t<Arg>, variant>::value,
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:45: error: template argument 1 is invalid
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:45: error: template argument 1 is invalid
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:45: error: template argument 1 is invalid
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:45: error: template argument 1 is invalid
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:45: error: template argument 1 is invalid
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:36: error: missing template arguments before ‘<’ token
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: error: ‘T’ was not declared in this scope
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:37: note: suggested alternative: ‘Ts’
(std::is_nothrow_assignable<T &, Arg>::value &&
^
Ts
/usr/include/arrow/vendored/variant.hpp:2343:40: error: expected primary-expression before ‘,’ token
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:45: error: expected primary-expression before ‘>’ token
(std::is_nothrow_assignable<T &, Arg>::value &&
^
/usr/include/arrow/vendored/variant.hpp:2343:48: error: ‘::value’ has not been declared
(std::is_nothrow_assignable<T &, Arg>::value &&
^~~~~
/usr/include/arrow/vendored/variant.hpp:2343:48: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::value’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::value’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2344:40: error: ‘T’ was not declared in this scope
std::is_nothrow_constructible<T, Arg>::value)) {
^
/usr/include/arrow/vendored/variant.hpp:2344:40: note: suggested alternative: ‘Ts’
std::is_nothrow_constructible<T, Arg>::value)) {
^
Ts
/usr/include/arrow/vendored/variant.hpp:2344:46: error: template argument 1 is invalid
std::is_nothrow_constructible<T, Arg>::value)) {
^
/usr/include/arrow/vendored/variant.hpp:2352:22: error: ‘lib’ does not name a type; did you mean ‘link’?
typename T = lib::type_pack_element_t<I, Ts...>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2352:25: error: expected ‘>’ before ‘::’ token
typename T = lib::type_pack_element_t<I, Ts...>,
^~
/usr/include/arrow/vendored/variant.hpp:2362:22: error: ‘lib’ does not name a type; did you mean ‘link’?
typename T = lib::type_pack_element_t<I, Ts...>,
^~~
link
/usr/include/arrow/vendored/variant.hpp:2362:25: error: expected ‘>’ before ‘::’ token
typename T = lib::type_pack_element_t<I, Ts...>,
^~
/usr/include/arrow/vendored/variant.hpp:2374:33: error: ‘find_index_sfinae’ is not a member of ‘mpark::detail’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2374:33: note: suggested alternative: ‘find_index_checked’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
find_index_checked
/usr/include/arrow/vendored/variant.hpp:2374:52: error: expected primary-expression before ‘,’ token
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^
/usr/include/arrow/vendored/variant.hpp:2374:62: error: ‘value’ in namespace ‘::’ does not name a type
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~
/usr/include/arrow/vendored/variant.hpp:2384:33: error: ‘find_index_sfinae’ is not a member of ‘mpark::detail’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2384:33: note: suggested alternative: ‘find_index_checked’
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~~~~~~~~~~~~~
find_index_checked
/usr/include/arrow/vendored/variant.hpp:2384:52: error: expected primary-expression before ‘,’ token
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^
/usr/include/arrow/vendored/variant.hpp:2384:62: error: ‘value’ in namespace ‘::’ does not name a type
std::size_t I = detail::find_index_sfinae<T, Ts...>::value,
^~~~~
/usr/include/arrow/vendored/variant.hpp:2402:15: error: ‘lib’ has not been declared
lib::enable_if_t<
^~~
/usr/include/arrow/vendored/variant.hpp:2402:31: error: expected ‘>’ before ‘<’ token
lib::enable_if_t<
^
/usr/include/arrow/vendored/variant.hpp:2410:9: error: ‘lib’ has not been declared
lib::all<(std::is_nothrow_move_constructible<Ts>::value &&
^~~
/usr/include/arrow/vendored/variant.hpp:2411:19: error: ‘lib’ has not been declared
lib::is_nothrow_swappable<Ts>::value)...>::value) {
^~~
/usr/include/arrow/vendored/variant.hpp:2411:47: error: expected primary-expression before ‘>’ token
lib::is_nothrow_swappable<Ts>::value)...>::value) {
^
/usr/include/arrow/vendored/variant.hpp:2411:50: error: ‘::value’ has not been declared
lib::is_nothrow_swappable<Ts>::value)...>::value) {
^~~~~
/usr/include/arrow/vendored/variant.hpp:2411:50: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::value’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::attr::value’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2411:56: error: expected ‘)’ before ‘...’ token
lib::is_nothrow_swappable<Ts>::value)...>::value) {
^~~
/usr/include/arrow/vendored/variant.hpp:2411:56: error: expected initializer before ‘...’ token
/usr/include/arrow/vendored/variant.hpp: In constructor ‘constexpr mpark::variant<Ts>::variant()’:
/usr/include/arrow/vendored/variant.hpp:2251:17: error: ‘in_place_index_t’ was not declared in this scope
: impl_(in_place_index_t<0>{}) {}
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2251:17: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
struct in_place_index_t { explicit in_place_index_t() = default; };
^~~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2251:36: error: expected primary-expression before ‘{’ token
: impl_(in_place_index_t<0>{}) {}
^
/usr/include/arrow/vendored/variant.hpp: In constructor ‘constexpr mpark::variant<Ts>::variant(Arg&&)’:
/usr/include/arrow/vendored/variant.hpp:2267:17: error: ‘in_place_index_t’ was not declared in this scope
: impl_(in_place_index_t<I>{}, lib::forward<Arg>(arg)) {}
^~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2267:17: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/c10/util/Optional.h:29:0,
from /home/xxx/libtorch/include/c10/core/ScalarType.h:11,
from /home/xxx/libtorch/include/c10/core/Scalar.h:10,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:8,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
struct in_place_index_t { explicit in_place_index_t() = default; };
^~~~~~~~~~~~~~~~
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
/home/xxx/libtorch/include/c10/util/in_place.h:10:8: note: ‘c10::in_place_index_t’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2267:34: error: ‘I’ was not declared in this scope
: impl_(in_place_index_t<I>{}, lib::forward<Arg>(arg)) {}
^
/usr/include/arrow/vendored/variant.hpp:2267:36: error: expected primary-expression before ‘{’ token
: impl_(in_place_index_t<I>{}, lib::forward<Arg>(arg)) {}
^
/usr/include/arrow/vendored/variant.hpp:2267:40: error: ‘lib’ has not been declared
: impl_(in_place_index_t<I>{}, lib::forward<Arg>(arg)) {}
^~~
/usr/include/arrow/vendored/variant.hpp:2267:56: error: expected primary-expression before ‘>’ token
: impl_(in_place_index_t<I>{}, lib::forward<Arg>(arg)) {}
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘mpark::variant<Ts>& mpark::variant<Ts>::operator=(Arg&&)’:
/usr/include/arrow/vendored/variant.hpp:2345:29: error: ‘I’ was not declared in this scope
impl_.template assign<I>(lib::forward<Arg>(arg));
^
/usr/include/arrow/vendored/variant.hpp:2345:32: error: ‘lib’ has not been declared
impl_.template assign<I>(lib::forward<Arg>(arg));
^~~
/usr/include/arrow/vendored/variant.hpp:2345:48: error: expected primary-expression before ‘>’ token
impl_.template assign<I>(lib::forward<Arg>(arg));
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘T& mpark::variant<Ts>::emplace(Args&& ...)’:
/usr/include/arrow/vendored/variant.hpp:2355:40: error: ‘lib’ has not been declared
return impl_.template emplace<I>(lib::forward<Args>(args)...);
^~~
/usr/include/arrow/vendored/variant.hpp:2355:57: error: expected primary-expression before ‘>’ token
return impl_.template emplace<I>(lib::forward<Args>(args)...);
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘T& mpark::variant<Ts>::emplace(std::initializer_list<Up>, Args&& ...)’:
/usr/include/arrow/vendored/variant.hpp:2368:44: error: ‘lib’ has not been declared
return impl_.template emplace<I>(il, lib::forward<Args>(args)...);
^~~
/usr/include/arrow/vendored/variant.hpp:2368:61: error: expected primary-expression before ‘>’ token
return impl_.template emplace<I>(il, lib::forward<Args>(args)...);
^
/usr/include/arrow/vendored/variant.hpp: In member function ‘constexpr auto&& mpark::detail::generic_get_impl<I, V>::operator()(V&&) const’:
/usr/include/arrow/vendored/variant.hpp:2438:9: error: ‘lib’ has not been declared
AUTO_REFREF_RETURN(
^
/usr/include/arrow/vendored/variant.hpp:2438:9: error: expected primary-expression before ‘>’ token
AUTO_REFREF_RETURN(
^
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr auto&& mpark::detail::generic_get(V&&)’:
/usr/include/arrow/vendored/variant.hpp:2444:7: error: ‘lib’ has not been declared
AUTO_REFREF_RETURN(generic_get_impl<I, V>(
^
/usr/include/arrow/vendored/variant.hpp:2444:7: error: expected primary-expression before ‘>’ token
AUTO_REFREF_RETURN(generic_get_impl<I, V>(
^
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr mpark::variant_alternative_t<I, mpark::variant<Ts ...> >&& mpark::get(mpark::variant<Ts ...>&&)’:
/usr/include/arrow/vendored/variant.hpp:2458:35: error: ‘lib’ has not been declared
return detail::generic_get<I>(lib::move(v));
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr mpark::variant_alternative_t<I, mpark::variant<Ts ...> >&& mpark::get(const mpark::variant<Ts ...>&&)’:
/usr/include/arrow/vendored/variant.hpp:2470:35: error: ‘lib’ has not been declared
return detail::generic_get<I>(lib::move(v));
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr T&& mpark::get(mpark::variant<Ts ...>&&)’:
/usr/include/arrow/vendored/variant.hpp:2480:61: error: ‘lib’ has not been declared
return get<detail::find_index_checked<T, Ts...>::value>(lib::move(v));
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr const T&& mpark::get(const mpark::variant<Ts ...>&&)’:
/usr/include/arrow/vendored/variant.hpp:2490:61: error: ‘lib’ has not been declared
return get<detail::find_index_checked<T, Ts...>::value>(lib::move(v));
^~~
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr auto mpark::detail::generic_get_if(V*)’:
/usr/include/arrow/vendored/variant.hpp:2497:7: error: ‘lib’ has not been declared
AUTO_RETURN(v && holds_alternative<I>(*v)
^
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:2504:20: error: ‘lib’ does not name a type; did you mean ‘link’?
inline constexpr lib::add_pointer_t<variant_alternative_t<I, variant<Ts...>>>
^~~
link
/usr/include/arrow/vendored/variant.hpp:2510:20: error: ‘lib’ does not name a type; did you mean ‘link’?
inline constexpr lib::add_pointer_t<
^~~
link
/usr/include/arrow/vendored/variant.hpp:2517:20: error: ‘lib’ does not name a type; did you mean ‘link’?
inline constexpr lib::add_pointer_t<T>
^~~
link
/usr/include/arrow/vendored/variant.hpp:2523:20: error: ‘lib’ does not name a type; did you mean ‘link’?
inline constexpr lib::add_pointer_t<const T>
^~~
link
/usr/include/arrow/vendored/variant.hpp: In member function ‘constexpr bool mpark::detail::convert_to_bool<RelOp>::operator()(Lhs&&, Rhs&&) const’:
/usr/include/arrow/vendored/variant.hpp:2533:43: error: ‘lib’ was not declared in this scope
static_assert(std::is_convertible<lib::invoke_result_t<RelOp, Lhs, Rhs>,
^~~
/usr/include/arrow/vendored/variant.hpp:2533:43: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2534:47: error: wrong number of template arguments (1, should be 2)
bool>::value,
^
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/utility:70,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/arg.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/type_traits:1544:12: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2537:16: error: ‘lib’ is not a class, namespace, or enumeration
return lib::invoke(
^~~
/usr/include/arrow/vendored/variant.hpp:2538:22: error: ‘lib’ is not a class, namespace, or enumeration
RelOp{}, lib::forward<Lhs>(lhs), lib::forward<Rhs>(rhs));
^~~
/usr/include/arrow/vendored/variant.hpp:2538:38: error: expected primary-expression before ‘>’ token
RelOp{}, lib::forward<Lhs>(lhs), lib::forward<Rhs>(rhs));
^
/usr/include/arrow/vendored/variant.hpp:2538:46: error: ‘lib’ is not a class, namespace, or enumeration
RelOp{}, lib::forward<Lhs>(lhs), lib::forward<Rhs>(rhs));
^~~
/usr/include/arrow/vendored/variant.hpp:2538:62: error: expected primary-expression before ‘>’ token
RelOp{}, lib::forward<Lhs>(lhs), lib::forward<Rhs>(rhs));
^
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator==(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2547:46: error: ‘lib’ was not declared in this scope
using equal_to = detail::convert_to_bool<lib::equal_to>;
^~~
/usr/include/arrow/vendored/variant.hpp:2547:46: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2547:59: error: template argument 1 is invalid
using equal_to = detail::convert_to_bool<lib::equal_to>;
^
/usr/include/arrow/vendored/variant.hpp:2551:49: error: ‘equal_to’ was not declared in this scope
return variant::visit_value_at(lhs.index(), equal_to{}, lhs, rhs);
^~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2551:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:331:12: note: ‘std::equal_to’
struct equal_to;
^~~~~~~~
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:468:39: note: ‘c10::lib::cpp14::equal_to’
using equal_to = std::equal_to<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:468:39: note: ‘c10::lib::cpp14::equal_to’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator!=(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2563:50: error: ‘lib’ was not declared in this scope
using not_equal_to = detail::convert_to_bool<lib::not_equal_to>;
^~~
/usr/include/arrow/vendored/variant.hpp:2563:50: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2563:67: error: template argument 1 is invalid
using not_equal_to = detail::convert_to_bool<lib::not_equal_to>;
^
/usr/include/arrow/vendored/variant.hpp:2567:49: error: ‘not_equal_to’ was not declared in this scope
return variant::visit_value_at(lhs.index(), not_equal_to{}, lhs, rhs);
^~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2567:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:334:12: note: ‘std::not_equal_to’
struct not_equal_to;
^~~~~~~~~~~~
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:478:47: note: ‘c10::lib::cpp14::not_equal_to’
using not_equal_to = std::not_equal_to<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:478:47: note: ‘c10::lib::cpp14::not_equal_to’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator<(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2579:42: error: ‘lib’ was not declared in this scope
using less = detail::convert_to_bool<lib::less>;
^~~
/usr/include/arrow/vendored/variant.hpp:2579:42: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2579:51: error: template argument 1 is invalid
using less = detail::convert_to_bool<lib::less>;
^
/usr/include/arrow/vendored/variant.hpp:2585:49: error: ‘less’ was not declared in this scope
return variant::visit_value_at(lhs.index(), less{}, lhs, rhs);
^~~~
/usr/include/arrow/vendored/variant.hpp:2585:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:340:12: note: ‘std::less’
struct less;
^~~~
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1361:18: note: ‘at::less’
TORCH_API Tensor less(const Tensor & self, const Tensor & other);
^~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::less’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::less’
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:488:31: note: ‘c10::lib::cpp14::less’
using less = std::less<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:488:31: note: ‘c10::lib::cpp14::less’
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1361:18: note: ‘at::less’
TORCH_API Tensor less(const Tensor & self, const Tensor & other);
^~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:1508:18: note: ‘at::native::less’
TORCH_API Tensor less(const Tensor & self, const Tensor & other);
^~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator>(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2598:45: error: ‘lib’ was not declared in this scope
using greater = detail::convert_to_bool<lib::greater>;
^~~
/usr/include/arrow/vendored/variant.hpp:2598:45: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2598:57: error: template argument 1 is invalid
using greater = detail::convert_to_bool<lib::greater>;
^
/usr/include/arrow/vendored/variant.hpp:2604:49: error: ‘greater’ was not declared in this scope
return variant::visit_value_at(lhs.index(), greater{}, lhs, rhs);
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2604:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:337:12: note: ‘std::greater’
struct greater;
^~~~~~~
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1349:18: note: ‘at::greater’
TORCH_API Tensor greater(const Tensor & self, const Tensor & other);
^~~~~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::greater’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::greater’
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:498:37: note: ‘c10::lib::cpp14::greater’
using greater = std::greater<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:498:37: note: ‘c10::lib::cpp14::greater’
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1349:18: note: ‘at::greater’
TORCH_API Tensor greater(const Tensor & self, const Tensor & other);
^~~~~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:1492:18: note: ‘at::native::greater’
TORCH_API Tensor greater(const Tensor & self, const Tensor & other);
^~~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator<=(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2617:48: error: ‘lib’ was not declared in this scope
using less_equal = detail::convert_to_bool<lib::less_equal>;
^~~
/usr/include/arrow/vendored/variant.hpp:2617:48: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2617:63: error: template argument 1 is invalid
using less_equal = detail::convert_to_bool<lib::less_equal>;
^
/usr/include/arrow/vendored/variant.hpp:2623:49: error: ‘less_equal’ was not declared in this scope
return variant::visit_value_at(lhs.index(), less_equal{}, lhs, rhs);
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2623:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:346:12: note: ‘std::less_equal’
struct less_equal;
^~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1337:18: note: ‘at::less_equal’
TORCH_API Tensor less_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::less_equal’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::less_equal’
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:508:43: note: ‘c10::lib::cpp14::less_equal’
using less_equal = std::less_equal<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:508:43: note: ‘c10::lib::cpp14::less_equal’
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1337:18: note: ‘at::less_equal’
TORCH_API Tensor less_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:1476:18: note: ‘at::native::less_equal’
TORCH_API Tensor less_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::operator>=(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&)’:
/usr/include/arrow/vendored/variant.hpp:2637:51: error: ‘lib’ was not declared in this scope
using greater_equal = detail::convert_to_bool<lib::greater_equal>;
^~~
/usr/include/arrow/vendored/variant.hpp:2637:51: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2637:69: error: template argument 1 is invalid
using greater_equal = detail::convert_to_bool<lib::greater_equal>;
^
/usr/include/arrow/vendored/variant.hpp:2643:49: error: ‘greater_equal’ was not declared in this scope
return variant::visit_value_at(lhs.index(), greater_equal{}, lhs, rhs);
^~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:2643:49: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:76:0,
from /home/xxx/libtorch/include/c10/core/Allocator.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:7,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/usr/include/c++/7/bits/stl_function.h:343:12: note: ‘std::greater_equal’
struct greater_equal;
^~~~~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1325:18: note: ‘at::greater_equal’
TORCH_API Tensor greater_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/core/Dimname.h:3:0,
from /home/xxx/libtorch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/libtorch/include/ATen/core/TensorBody.h:22,
from /home/xxx/libtorch/include/ATen/Tensor.h:3,
from /home/xxx/libtorch/include/ATen/Context.h:4,
from /home/xxx/libtorch/include/ATen/ATen.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::greater_equal’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
/home/xxx/libtorch/include/ATen/core/interned_strings.h:521:1: note: ‘c10::aten::greater_equal’
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:518:49: note: ‘c10::lib::cpp14::greater_equal’
using greater_equal = std::greater_equal<>;
^
/home/xxx/libtorch/include/c10/util/variant.h:518:49: note: ‘c10::lib::cpp14::greater_equal’
In file included from /home/xxx/libtorch/include/ATen/ATen.h:16:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/Functions.h:1325:18: note: ‘at::greater_equal’
TORCH_API Tensor greater_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~~~~
In file included from /home/xxx/libtorch/include/ATen/TensorIndexing.h:11:0,
from /home/xxx/libtorch/include/ATen/ATen.h:21,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/ATen/NativeFunctions.h:1460:18: note: ‘at::native::greater_equal’
TORCH_API Tensor greater_equal(const Tensor & self, const Tensor & other);
^~~~~~~~~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr decltype(auto) mpark::visit(Visitor&&, Vs&& ...)’:
/usr/include/arrow/vendored/variant.hpp:2700:16: error: ‘lib’ has not been declared
lib::forward<Visitor>(visitor), lib::forward<Vs>(vs)...);
^~~
/usr/include/arrow/vendored/variant.hpp:2700:36: error: expected primary-expression before ‘>’ token
lib::forward<Visitor>(visitor), lib::forward<Vs>(vs)...);
^
/usr/include/arrow/vendored/variant.hpp:2700:48: error: ‘lib’ has not been declared
lib::forward<Visitor>(visitor), lib::forward<Vs>(vs)...);
^~~
/usr/include/arrow/vendored/variant.hpp:2700:63: error: expected primary-expression before ‘>’ token
lib::forward<Visitor>(visitor), lib::forward<Vs>(vs)...);
^
/usr/include/arrow/vendored/variant.hpp: In function ‘constexpr bool mpark::detail::hash::meets_requirements()’:
/usr/include/arrow/vendored/variant.hpp:2747:16: error: ‘lib’ has not been declared
lib::is_invocable_r<std::size_t, H, const K &>::value;
^~~
/usr/include/arrow/vendored/variant.hpp:2747:47: error: expected primary-expression before ‘,’ token
lib::is_invocable_r<std::size_t, H, const K &>::value;
^
/usr/include/arrow/vendored/variant.hpp:2747:50: error: expected primary-expression before ‘,’ token
lib::is_invocable_r<std::size_t, H, const K &>::value;
^
/usr/include/arrow/vendored/variant.hpp:2747:52: error: expected primary-expression before ‘const’
lib::is_invocable_r<std::size_t, H, const K &>::value;
^~~~~
/usr/include/arrow/vendored/variant.hpp:2747:52: error: expected ‘;’ before ‘const’
/usr/include/arrow/vendored/variant.hpp:2747:61: error: expected unqualified-id before ‘>’ token
lib::is_invocable_r<std::size_t, H, const K &>::value;
^
/usr/include/arrow/vendored/variant.hpp:2747:61: error: expected initializer before ‘>’ token
/usr/include/arrow/vendored/variant.hpp: At global scope:
/usr/include/arrow/vendored/variant.hpp:2779:14: error: ‘lib’ is not a member of ‘mpark’
mpark::lib::enable_if_t<mpark::lib::all<mpark::detail::hash::is_enabled<
^~~
/usr/include/arrow/vendored/variant.hpp:2779:14: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2779:14: error: ‘lib’ is not a member of ‘mpark’
mpark::lib::enable_if_t<mpark::lib::all<mpark::detail::hash::is_enabled<
^~~
/usr/include/arrow/vendored/variant.hpp:2779:14: note: suggested alternatives:
In file included from /home/xxx/libtorch/include/torch/csrc/api/include/torch/enum.h:7:0,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/xxx/main.cpp:1:
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
namespace lib {
^~~
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
/home/xxx/libtorch/include/c10/util/variant.h:373:13: note: ‘c10::lib’
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2780:55: error: template argument 2 is invalid
mpark::lib::remove_const_t<Ts>>()...>::value>>> {
^~
/usr/include/arrow/vendored/variant.hpp:2780:57: error: template argument 1 is invalid
mpark::lib::remove_const_t<Ts>>()...>::value>>> {
^
In file included from /usr/include/arrow/type.h:34:0,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/util/variant.h:27:16: error: ‘mpark::get_if’ has not been declared
using ::mpark::get_if;
^~~~~~
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In instantiation of ‘class mpark::detail::impl<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >’:
/usr/include/arrow/vendored/variant.hpp:2416:25: required from ‘class mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >’
/usr/include/arrow/type.h:1580:64: required from here
/usr/include/arrow/vendored/variant.hpp:2074:7: error: using-declaration for non-member at class scope
MPARK_INHERITING_CTOR(impl, super)
^
/usr/include/arrow/vendored/variant.hpp:2075:28: error: using-declaration for non-member at class scope
using super::operator=;
^
In file included from /usr/include/parquet/properties.h:27:0,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/type.h: In constructor ‘arrow::FieldRef::FieldRef(std::__cxx11::string)’:
/usr/include/arrow/type.h:1441:53: error: no matching function for call to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >::variant(std::remove_reference<std::__cxx11::basic_string<char>&>::type)’
FieldRef(std::string name) : impl_(std::move(name)) {} // NOLINT runtime/explicit
^
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2265:22: note: candidate: template<class Arg, class Decayed> constexpr mpark::variant<Ts>::variant(Arg&&)
inline constexpr variant(Arg &&arg) noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2265:22: note: template argument deduction/substitution failed:
/usr/include/arrow/vendored/variant.hpp:2254:5: note: candidate: constexpr mpark::variant<Ts>::variant(mpark::variant<Ts>&&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(variant &&) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2254:5: note: no known conversion for argument 1 from ‘std::remove_reference<std::__cxx11::basic_string<char>&>::type {aka std::__cxx11::basic_string<char>}’ to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&&’
/usr/include/arrow/vendored/variant.hpp:2253:5: note: candidate: constexpr mpark::variant<Ts>::variant(const mpark::variant<Ts>&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(const variant &) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2253:5: note: no known conversion for argument 1 from ‘std::remove_reference<std::__cxx11::basic_string<char>&>::type {aka std::__cxx11::basic_string<char>}’ to ‘const mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&’
/usr/include/arrow/vendored/variant.hpp:2249:22: note: candidate: template<class Front> constexpr mpark::variant<Ts>::variant()
inline constexpr variant() noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2249:22: note: template argument deduction/substitution failed:
In file included from /usr/include/parquet/properties.h:27:0,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/type.h:1441:53: note: candidate expects 0 arguments, 1 provided
FieldRef(std::string name) : impl_(std::move(name)) {} // NOLINT runtime/explicit
^
/usr/include/arrow/type.h: In constructor ‘arrow::FieldRef::FieldRef(const char*)’:
/usr/include/arrow/type.h:1442:55: error: no matching function for call to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >::variant(std::__cxx11::string)’
FieldRef(const char* name) : impl_(std::string(name)) {} // NOLINT runtime/explicit
^
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2265:22: note: candidate: template<class Arg, class Decayed> constexpr mpark::variant<Ts>::variant(Arg&&)
inline constexpr variant(Arg &&arg) noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2265:22: note: template argument deduction/substitution failed:
/usr/include/arrow/vendored/variant.hpp:2254:5: note: candidate: constexpr mpark::variant<Ts>::variant(mpark::variant<Ts>&&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(variant &&) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2254:5: note: no known conversion for argument 1 from ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&&’
/usr/include/arrow/vendored/variant.hpp:2253:5: note: candidate: constexpr mpark::variant<Ts>::variant(const mpark::variant<Ts>&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(const variant &) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2253:5: note: no known conversion for argument 1 from ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ to ‘const mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&’
/usr/include/arrow/vendored/variant.hpp:2249:22: note: candidate: template<class Front> constexpr mpark::variant<Ts>::variant()
inline constexpr variant() noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2249:22: note: template argument deduction/substitution failed:
In file included from /usr/include/parquet/properties.h:27:0,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/type.h:1442:55: note: candidate expects 0 arguments, 1 provided
FieldRef(const char* name) : impl_(std::string(name)) {} // NOLINT runtime/explicit
^
/usr/include/arrow/type.h: In constructor ‘arrow::FieldRef::FieldRef(int)’:
/usr/include/arrow/type.h:1445:49: error: no matching function for call to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >::variant(arrow::FieldPath)’
FieldRef(int index) : impl_(FieldPath({index})) {} // NOLINT runtime/explicit
^
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp:2265:22: note: candidate: template<class Arg, class Decayed> constexpr mpark::variant<Ts>::variant(Arg&&)
inline constexpr variant(Arg &&arg) noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2265:22: note: template argument deduction/substitution failed:
/usr/include/arrow/vendored/variant.hpp:2254:5: note: candidate: constexpr mpark::variant<Ts>::variant(mpark::variant<Ts>&&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(variant &&) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2254:5: note: no known conversion for argument 1 from ‘arrow::FieldPath’ to ‘mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&&’
/usr/include/arrow/vendored/variant.hpp:2253:5: note: candidate: constexpr mpark::variant<Ts>::variant(const mpark::variant<Ts>&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]
variant(const variant &) = default;
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2253:5: note: no known conversion for argument 1 from ‘arrow::FieldPath’ to ‘const mpark::variant<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >&’
/usr/include/arrow/vendored/variant.hpp:2249:22: note: candidate: template<class Front> constexpr mpark::variant<Ts>::variant()
inline constexpr variant() noexcept(
^~~~~~~
/usr/include/arrow/vendored/variant.hpp:2249:22: note: template argument deduction/substitution failed:
In file included from /usr/include/parquet/properties.h:27:0,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/type.h:1445:49: note: candidate expects 0 arguments, 1 provided
FieldRef(int index) : impl_(FieldPath({index})) {} // NOLINT runtime/explicit
^
In file included from /usr/include/arrow/util/variant.h:20:0,
from /usr/include/arrow/type.h:34,
from /usr/include/parquet/properties.h:27,
from /usr/include/parquet/metadata.h:29,
from /usr/include/parquet/file_reader.h:26,
from /home/xxx/main.cpp:10:
/usr/include/arrow/vendored/variant.hpp: In instantiation of ‘constexpr std::size_t mpark::variant<Ts>::index() const [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}; std::size_t = long unsigned int]’:
/usr/include/arrow/vendored/variant.hpp:2549:21: required from ‘constexpr bool mpark::operator==(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’
/usr/include/arrow/type.h:1476:68: required from here
/usr/include/arrow/vendored/variant.hpp:2398:20: error: ‘const class mpark::detail::impl<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >’ has no member named ‘index’
return impl_.index();
~~~~~~^~~~~
/usr/include/arrow/vendored/variant.hpp: In instantiation of ‘constexpr bool mpark::variant<Ts>::valueless_by_exception() const [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’:
/usr/include/arrow/vendored/variant.hpp:2550:5: required from ‘constexpr bool mpark::operator==(const mpark::variant<Ts ...>&, const mpark::variant<Ts ...>&) [with Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’
/usr/include/arrow/type.h:1476:68: required from here
/usr/include/arrow/vendored/variant.hpp:2394:20: error: ‘const class mpark::detail::impl<arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> > >’ has no member named ‘valueless_by_exception’
return impl_.valueless_by_exception();
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp: In substitution of ‘template<class T, class ... Ts> using find_index_checked = mpark::detail::find_index_checked_impl<find_index<T, Ts ...>()> [with T = arrow::FieldPath; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’:
/usr/include/arrow/vendored/variant.hpp:2429:12: required from ‘constexpr bool mpark::holds_alternative(const mpark::variant<Ts ...>&) [with T = arrow::FieldPath; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’
/usr/include/arrow/type.h:1483:77: required from here
/usr/include/arrow/vendored/variant.hpp:999:76: error: ‘constexpr std::size_t mpark::detail::find_index() [with T = arrow::FieldPath; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}; std::size_t = long unsigned int]’ called in a constant expression
using find_index_checked = find_index_checked_impl<find_index<T, Ts...>()>;
~~~~~~~~~~~~~~~~~~~~^~
/usr/include/arrow/vendored/variant.hpp:947:34: note: ‘constexpr std::size_t mpark::detail::find_index() [with T = arrow::FieldPath; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}; std::size_t = long unsigned int]’ is not usable as a constexpr function because:
inline constexpr std::size_t find_index() {
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:999:79: note: in template argument for type ‘long unsigned int’
using find_index_checked = find_index_checked_impl<find_index<T, Ts...>()>;
^
/usr/include/arrow/vendored/variant.hpp: In substitution of ‘template<class T, class ... Ts> using find_index_checked = mpark::detail::find_index_checked_impl<find_index<T, Ts ...>()> [with T = std::__cxx11::basic_string<char>; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’:
/usr/include/arrow/vendored/variant.hpp:2429:12: required from ‘constexpr bool mpark::holds_alternative(const mpark::variant<Ts ...>&) [with T = std::__cxx11::basic_string<char>; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}]’
/usr/include/arrow/type.h:1484:74: required from here
/usr/include/arrow/vendored/variant.hpp:999:76: error: ‘constexpr std::size_t mpark::detail::find_index() [with T = std::__cxx11::basic_string<char>; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}; std::size_t = long unsigned int]’ called in a constant expression
using find_index_checked = find_index_checked_impl<find_index<T, Ts...>()>;
~~~~~~~~~~~~~~~~~~~~^~
/usr/include/arrow/vendored/variant.hpp:947:34: note: ‘constexpr std::size_t mpark::detail::find_index() [with T = std::__cxx11::basic_string<char>; Ts = {arrow::FieldPath, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<arrow::FieldRef, std::allocator<arrow::FieldRef> >}; std::size_t = long unsigned int]’ is not usable as a constexpr function because:
inline constexpr std::size_t find_index() {
^~~~~~~~~~
/usr/include/arrow/vendored/variant.hpp:999:79: note: in template argument for type ‘long unsigned int’
using find_index_checked = find_index_checked_impl<find_index<T, Ts...>()>;
^
make[2]: *** [CMakeFiles/recsys.dir/build.make:63: CMakeFiles/recsys.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/recsys.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment