Created
May 26, 2020 01:43
-
-
Save turtlesoupy/729ec3fa68aec64f382599fd432e59b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] Building folder: skimpy | |
[build] Starting build | |
[proc] Executing command: /usr/bin/cmake --build /home/tdimson/projects/skimpy/build --config Debug --target skimpy_ext -- -j 34 | |
[build] [ 60%] Built target fmt | |
[build] Scanning dependencies of target skimpy_ext | |
[build] [ 80%] Building CXX object src/cpp_ext/CMakeFiles/skimpy_ext.dir/skimpy_ext.cpp.o | |
[build] In file included from /home/tdimson/projects/skimpy/include/skimpy/skimpy.hpp:3, | |
[build] from /home/tdimson/projects/skimpy/src/cpp_ext/skimpy_ext.cpp:5: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp: In function ‘skimpy::Array<Val> skimpy::operator%(const skimpy::Array<Val>&, const skimpy::Array<Val>&) [with Val = float]’: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: no matching function for call to ‘skimpy::Array<float>::merge<fn>(const skimpy::Array<float>&) const’ | |
[build] 278 | return lhs.template merge<fn>(rhs); | |
[build] | ^ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:145:8: note: candidate: ‘template<class Out, Out (* fn)(float)> auto skimpy::Array<Val>::merge() const [with Out = Out; Out (* fn)(Val) = fn; Val = float]’ | |
[build] 145 | auto merge() const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:145:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:152:8: note: candidate: ‘template<class Out, class Arg, Out (* fn)(float, Arg)> auto skimpy::Array<Val>::merge(const skimpy::Array<Arg>&) const [with Out = Out; Arg = Arg; Out (* fn)(Val, Arg) = fn; Val = float]’ | |
[build] 152 | auto merge(const Array<Arg>& other) const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:152:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:164:8: note: candidate: ‘template<class Out, class Arg1, class Arg2, Out (* fn)(float, Arg1, Arg2)> auto skimpy::Array<Val>::merge(const skimpy::Array<Arg>&, const skimpy::Array<Arg2>&) const [with Out = Out; Arg1 = Arg1; Arg2 = Arg2; Out (* fn)(Val, Arg1, Arg2) = fn; Val = float]’ | |
[build] 164 | auto merge(const Array<Arg1>& a, const Array<Arg2>& b) const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:164:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:175:8: note: candidate: ‘template<float (* fn)(float)> auto skimpy::Array<Val>::merge() const [with Val (* fn)(Val) = fn; Val = float]’ | |
[build] 175 | auto merge() const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:175:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: conversion from ‘float (*)(float, float)’ to ‘float (*)(float)’ in a converted constant expression | |
[build] 278 | return lhs.template merge<fn>(rhs); | |
[build] | ^ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: could not convert ‘fn’ from ‘float (* const)(float, float)’ to ‘float (*)(float)’ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:179:8: note: candidate: ‘template<float (* fn)(float, float)> auto skimpy::Array<Val>::merge(const skimpy::Array<Val>&) const [with Val (* fn)(Val, Val) = fn; Val = float]’ | |
[build] 179 | auto merge(const Array<Val>& other) const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:179:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: ‘skimpy::operator%(const skimpy::Array<Val>&, const skimpy::Array<Val>&) [with Val = float]::<lambda(float, float)>::_FUN’ is not a valid template argument for type ‘float (*)(float, float)’ because ‘static constexpr float skimpy::operator%(const skimpy::Array<Val>&, const skimpy::Array<Val>&) [with Val = float]::<lambda(float, float)>::_FUN(float, float)’ has no linkage | |
[build] 278 | return lhs.template merge<fn>(rhs); | |
[build] | ^ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:183:8: note: candidate: ‘template<float (* fn)(float, float, float)> auto skimpy::Array<Val>::merge(const skimpy::Array<Val>&, const skimpy::Array<Val>&) const [with Val (* fn)(Val, Val, Val) = fn; Val = float]’ | |
[build] 183 | auto merge(const Array<Val>& a, const Array<Val>& b) const { | |
[build] | ^~~~~ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:183:8: note: template argument deduction/substitution failed: | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: conversion from ‘float (*)(float, float)’ to ‘float (*)(float, float, float)’ in a converted constant expression | |
[build] 278 | return lhs.template merge<fn>(rhs); | |
[build] | ^ | |
[build] /home/tdimson/projects/skimpy/include/skimpy/array.hpp:278:36: error: could not convert ‘fn’ from ‘float (* const)(float, float)’ to ‘float (*)(float, float, float)’ | |
[build] make[3]: *** [src/cpp_ext/CMakeFiles/skimpy_ext.dir/build.make:63: src/cpp_ext/CMakeFiles/skimpy_ext.dir/skimpy_ext.cpp.o] Error 1 | |
[build] make[2]: *** [CMakeFiles/Makefile2:1145: src/cpp_ext/CMakeFiles/skimpy_ext.dir/all] Error 2 | |
[build] make[1]: *** [CMakeFiles/Makefile2:1152: src/cpp_ext/CMakeFiles/skimpy_ext.dir/rule] Error 2 | |
[build] make: *** [Makefile:565: skimpy_ext] Error 2 | |
[build] Build finished with exit code 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment