Skip to content

Instantly share code, notes, and snippets.

@turtlesoupy
Created May 20, 2020 19:52
Show Gist options
  • Select an option

  • Save turtlesoupy/def40b6222e4ec34e51984bc5bda58fd to your computer and use it in GitHub Desktop.

Select an option

Save turtlesoupy/def40b6222e4ec34e51984bc5bda58fd to your computer and use it in GitHub Desktop.
[ 20%] Building CXX object third_party/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[ 40%] Building CXX object third_party/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[ 60%] Linking CXX static library libfmt.a
[ 60%] Built target fmt
Scanning dependencies of target skimpy_ext
[ 80%] Building CXX object python/CMakeFiles/skimpy_ext.dir/skimpy_ext.cpp.o
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
In file included from /home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:10:
In file included from /home/tdimson/projects/skimpy/include/skimpy/detail/conv.hpp:8:
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:99:31: error: use of undeclared identifier 'ends'; did you mean 'end'?
return *std::upper_bound(&ends[0], &ends[size], start + pos);
^~~~
end
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:89:7: note: 'end' declared here
Pos end(int index) const {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:99:31: error: reference to non-static member function must be called
return *std::upper_bound(&ends[0], &ends[size], start + pos);
^~~~
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:99:41: error: use of undeclared identifier 'ends'; did you mean 'end'?
return *std::upper_bound(&ends[0], &ends[size], start + pos);
^~~~
end
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:89:7: note: 'end' declared here
Pos end(int index) const {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/core.hpp:99:41: error: reference to non-static member function must be called
return *std::upper_bound(&ends[0], &ends[size], start + pos);
^~~~
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
In file included from /home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:12:
In file included from /home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:13:
In file included from /home/tdimson/projects/skimpy/include/skimpy/detail/eval.hpp:9:
/home/tdimson/projects/skimpy/include/skimpy/detail/step.hpp:41:12: error: types cannot be declared in an anonymous union
struct StackArgs {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/step.hpp:47:12: error: types cannot be declared in an anonymous union
struct TableArgs {
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
In file included from /home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:12:
In file included from /home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:13:
/home/tdimson/projects/skimpy/include/skimpy/detail/eval.hpp:99:35: error: no member named 'hardware_destructive_interference_size' in namespace 'std'
: nodes(new Node[size, std::hardware_destructive_interference_size]) {
~~~~~^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:102:9: warning: use of function template name with no prior declaration in function call with explicit template arguments is a C++20 extension [-Wc++20-extensions]
set(ArrayVal<Val>(store));
^
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:192:13: error: no matching function for call to 'store'
: op_(lang::store(std::move(store))) {}
^~~~~~~~~~~
/home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:118:13: note: candidate template ignored: couldn't infer template argument 'Val'
inline auto store(std::shared_ptr<BoxStore> store) {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:128:13: note: candidate template ignored: could not match 'Store' against 'shared_ptr'
inline auto store(const core::Store<Val>& val_store) {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:140:13: note: candidate template ignored: requirement '!std::is_same_v<skimpy::detail::box::Box, skimpy::detail::box::Box>' was not satisfied [with Val = skimpy::detail::box::Box]
inline auto store(const std::shared_ptr<core::Store<Val>>& val_store) {
^
/home/tdimson/projects/skimpy/include/skimpy/detail/lang.hpp:145:13: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline auto store(core::Pos span, Val fill) {
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:375:31: error: a lambda expression cannot appear in this context
return array.template merge<[](Val a) { return -a; }>();
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:141:57: note: in instantiation of function template specialization 'skimpy::operator-<int>' requested here
.def("__neg__", [](const IntArray& self) { return -self; })
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:370:31: error: a lambda expression cannot appear in this context
return array.template merge<[](Val a) { return +a; }>();
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:142:57: note: in instantiation of function template specialization 'skimpy::operator+<int>' requested here
.def("__pos__", [](const IntArray& self) { return +self; })
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:518:31: error: a lambda expression cannot appear in this context
return array.template merge<[](Val a) { return std::abs(a); }>();
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:143:65: note: in instantiation of function template specialization 'skimpy::abs<int>' requested here
.def("__abs__", [](const IntArray& self) { return skimpy::abs(self); })
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:380:31: error: a lambda expression cannot appear in this context
return array.template merge<[](Val a) { return ~a; }>();
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:144:60: note: in instantiation of function template specialization 'skimpy::operator~<int>' requested here
.def("__invert__", [](const IntArray& self) { return ~self; })
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:386:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a + b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:150:25: note: in instantiation of function template specialization 'skimpy::operator+<int>' requested here
return self + other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:399:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a - b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:157:25: note: in instantiation of function template specialization 'skimpy::operator-<int>' requested here
return self - other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:412:30: error: a lambda expression cannot appear in this context
return lhs.template merge<+[](Val a, Val b) { return a * b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:164:25: note: in instantiation of function template specialization 'skimpy::operator*<int>' requested here
return self * other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:425:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a / b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:175:25: note: in instantiation of function template specialization 'skimpy::operator/<int>' requested here
return self / other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:438:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a % b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:182:25: note: in instantiation of function template specialization 'skimpy::operator%<int>' requested here
return self % other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:452:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a & b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:189:25: note: in instantiation of function template specialization 'skimpy::operator&<int>' requested here
return self & other;
^
In file included from /home/tdimson/projects/skimpy/python/skimpy_ext.cpp:5:
/home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:465:29: error: a lambda expression cannot appear in this context
return lhs.template merge<[](Val a, Val b) { return a | b; }>(rhs);
^
/home/tdimson/projects/skimpy/python/skimpy_ext.cpp:196:25: note: in instantiation of function template specialization 'skimpy::operator|<int>' requested here
return self | other;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[3]: *** [python/CMakeFiles/skimpy_ext.dir/build.make:63: python/CMakeFiles/skimpy_ext.dir/skimpy_ext.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:1098: python/CMakeFiles/skimpy_ext.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1105: python/CMakeFiles/skimpy_ext.dir/rule] Error 2
make: *** [Makefile:565: skimpy_ext] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment