Skip to content

Instantly share code, notes, and snippets.

@toyg
Created October 21, 2017 20:33
Show Gist options
  • Save toyg/e713e689531f187d7551980ee5f0a724 to your computer and use it in GitHub Desktop.
Save toyg/e713e689531f187d7551980ee5f0a724 to your computer and use it in GitHub Desktop.
waifu2pico
/usr/local/Cellar/cmake/3.9.0/bin/cmake -H/Users/toyg/Dev/waifu2x-dev -B/Users/toyg/Dev/waifu2x-dev --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_progress_start /Users/toyg/Dev/waifu2x-dev/CMakeFiles /Users/toyg/Dev/waifu2x-dev/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/depend
cd /Users/toyg/Dev/waifu2x-dev && /usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev/CMakeFiles/conv.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/build
make[2]: Nothing to be done for `CMakeFiles/conv.dir/build'.
[ 8%] Built target conv
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/depend
cd /Users/toyg/Dev/waifu2x-dev && /usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev/CMakeFiles/gensrcs.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/build
make[2]: Nothing to be done for `CMakeFiles/gensrcs.dir/build'.
[ 13%] Built target gensrcs
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/depend
cd /Users/toyg/Dev/waifu2x-dev && /usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_depends "Unix Makefiles" /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev /Users/toyg/Dev/waifu2x-dev/CMakeFiles/w2xc.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/build
[ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o
[ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler.cpp.o
[ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o
[ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBUILD_TS=\"2017-10-21T17:20:11\" -DHAVE_OPENCV -DX86OPT -Dw2xc_EXPORTS -I/Users/toyg/Dev/waifu2x-dev -I/Users/toyg/Dev/waifu2x-dev/src -I/Users/toyg/Dev/waifu2x-dev/include -I/usr/local/Cellar/opencv/3.3.0_3/include/opencv -I/usr/local/Cellar/opencv/3.3.0_3/include -fPIC -o CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o -c /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBUILD_TS=\"2017-10-21T17:20:11\" -DHAVE_OPENCV -DX86OPT -Dw2xc_EXPORTS -I/Users/toyg/Dev/waifu2x-dev -I/Users/toyg/Dev/waifu2x-dev/src -I/Users/toyg/Dev/waifu2x-dev/include -I/usr/local/Cellar/opencv/3.3.0_3/include/opencv -I/usr/local/Cellar/opencv/3.3.0_3/include -fPIC -o CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o -c /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBUILD_TS=\"2017-10-21T17:20:11\" -DHAVE_OPENCV -DX86OPT -Dw2xc_EXPORTS -I/Users/toyg/Dev/waifu2x-dev -I/Users/toyg/Dev/waifu2x-dev/src -I/Users/toyg/Dev/waifu2x-dev/include -I/usr/local/Cellar/opencv/3.3.0_3/include/opencv -I/usr/local/Cellar/opencv/3.3.0_3/include -fPIC -o CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o -c /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBUILD_TS=\"2017-10-21T17:20:11\" -DHAVE_OPENCV -DX86OPT -Dw2xc_EXPORTS -I/Users/toyg/Dev/waifu2x-dev -I/Users/toyg/Dev/waifu2x-dev/src -I/Users/toyg/Dev/waifu2x-dev/include -I/usr/local/Cellar/opencv/3.3.0_3/include/opencv -I/usr/local/Cellar/opencv/3.3.0_3/include -fPIC -o CMakeFiles/w2xc.dir/src/modelHandler.cpp.o -c /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
/Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:8: error: no member named 'isnan' in namespace 'std'
std::isnan(n) || std::isinf(n)
~~~~~^
/Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:25: error: no member named 'isinf' in namespace 'std'
std::isnan(n) || std::isinf(n)
~~~~~^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:19:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:22:
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
W2Mat(const W2Mat &) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:38: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
W2Mat& operator=(const W2Mat&) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:28:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
W2Mat & operator= (W2Mat &&);
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:29:17: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
W2Mat(W2Mat &&rhs) {
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:30:15: error: overload resolution selected deleted operator '='
*this = std::move(rhs);
~~~~~ ^ ~~~~~~~~~~~~~~
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:12: note: candidate function has been explicitly deleted
W2Mat& operator=(const W2Mat&) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:28:13: note: candidate function not viable: no known conversion from 'W2Mat' to 'W2Mat &&' for 1st argument
W2Mat & operator= (W2Mat &&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:4:
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:4:
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:4:
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:38:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
auto func = [&]() {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:43:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
auto func = [&]() {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:89:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:65:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:67:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:126:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class 'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread, std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class 'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread, std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class 'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread, std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
10 warnings and 3 errors generated.
10 warnings and 3 errors generated.
10 warnings and 3 errors generated.
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o] Error 1
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o] Error 1
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto thread_func = [&](){
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:21: error: expected expression
auto thread_func = [&](){
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:15: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:26: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:716:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto& weightMatRowV = weightMat.at(writingRow);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:9: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:13: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:18: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class 'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:185:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread, std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(thread_func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: call to deleted constructor of 'W2Mat'
::new ((void*)__p) _Tp(__a0);
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<W2Mat> >::construct<W2Mat, W2Mat>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back' requested here
weights.push_back(std::move(writeMatrix));
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:5: note: 'W2Mat' has been explicitly marked deleted here
W2Mat(const W2Mat &) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to 'construct'
__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
~~~~~~~~~~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template specialization 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__push_back_slow_path<const W2Mat>' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back' requested here
weights.push_back(std::move(writeMatrix));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:886:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<W2Mat> >::__construct_backward<W2Mat *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1574:5: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template specialization 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__push_back_slow_path<const W2Mat>' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back' requested here
weights.push_back(std::move(writeMatrix));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: no matching constructor for initialization of 'std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >'
::new ((void*)__p) _Tp(__a0);
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::construct<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2435:5: note: candidate constructor not viable: 1st argument ('const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >') would lose const qualifier
unique_ptr(unique_ptr&);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2454:49: note: candidate constructor not viable: no known conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to 'std::__1::nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2460:40: note: candidate constructor not viable: no known conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to 'pointer' (aka 'w2xc::Model *') for 1st argument
_LIBCPP_INLINE_VISIBILITY explicit unique_ptr(pointer __p) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2539:31: note: candidate constructor not viable: no known conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to '__rv<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(__rv<unique_ptr> __u)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2437:9: note: candidate template ignored: deduced type 'unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > &' of 1st parameter does not match adjusted type 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' of argument [with _Up = w2xc::Model, _Ep = std::__1::default_delete<w2xc::Model>]
unique_ptr(unique_ptr<_Up, _Ep>&);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2448:49: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2557:31: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
_LIBCPP_INLINE_VISIBILITY unique_ptr(pointer __p, deleter_type __d)
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to 'construct'
__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
~~~~~~~~~~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template specialization 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::__push_back_slow_path<const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:886:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::__construct_backward<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1574:5: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template specialization 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::__push_back_slow_path<const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: must qualify identifier to find this declaration in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure [with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2 arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
30 warnings and 15 errors generated.
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/w2xc.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment