Guest User

Untitled

a guest
Oct 22nd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.19 KB | None | 0 0
  1. /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
  2. /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
  3. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
  4. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/depend
  5. 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=
  6. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/conv.dir/build.make CMakeFiles/conv.dir/build
  7. make[2]: Nothing to be done for `CMakeFiles/conv.dir/build'.
  8. [ 8%] Built target conv
  9. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/depend
  10. 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=
  11. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/gensrcs.dir/build.make CMakeFiles/gensrcs.dir/build
  12. make[2]: Nothing to be done for `CMakeFiles/gensrcs.dir/build'.
  13. [ 13%] Built target gensrcs
  14. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/depend
  15. 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=
  16. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/w2xc.dir/build.make CMakeFiles/w2xc.dir/build
  17. [ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o
  18. [ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler.cpp.o
  19. [ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o
  20. [ 30%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o
  21. /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
  22. /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
  23. /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
  24. /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
  25. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  26. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
  27. /Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:8: error: no member named 'isnan' in namespace 'std'
  28. std::isnan(n) || std::isinf(n)
  29. ~~~~~^
  30. /Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:25: error: no member named 'isinf' in namespace 'std'
  31. std::isnan(n) || std::isinf(n)
  32. ~~~~~^
  33. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  34. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:19:
  35. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  36. Buffer(Buffer const &rhs) = delete;
  37. ^
  38. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  39. Buffer &operator = (Buffer const &rhs) = delete;
  40. ^
  41. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  42. Buffer &operator = (Buffer &&rhs) = delete;
  43. ^
  44. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  45. Buffer &operator = (Buffer &&rhs) = delete;
  46. ^
  47. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  48. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:22:
  49. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  50. W2Mat(const W2Mat &) = delete;
  51. ^
  52. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:38: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  53. W2Mat& operator=(const W2Mat&) = delete;
  54. ^
  55. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:28:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  56. W2Mat & operator= (W2Mat &&);
  57. ^
  58. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:29:17: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  59. W2Mat(W2Mat &&rhs) {
  60. ^
  61. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:30:15: error: overload resolution selected deleted operator '='
  62. *this = std::move(rhs);
  63. ~~~~~ ^ ~~~~~~~~~~~~~~
  64. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:12: note: candidate function has been explicitly deleted
  65. W2Mat& operator=(const W2Mat&) = delete;
  66. ^
  67. /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
  68. W2Mat & operator= (W2Mat &&);
  69. ^
  70. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:4:
  71. In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
  72. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  73. Buffer(Buffer const &rhs) = delete;
  74. ^
  75. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  76. Buffer &operator = (Buffer const &rhs) = delete;
  77. ^
  78. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  79. Buffer &operator = (Buffer &&rhs) = delete;
  80. ^
  81. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  82. Buffer &operator = (Buffer &&rhs) = delete;
  83. ^
  84. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:4:
  85. In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
  86. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  87. Buffer(Buffer const &rhs) = delete;
  88. ^
  89. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  90. Buffer &operator = (Buffer const &rhs) = delete;
  91. ^
  92. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  93. Buffer &operator = (Buffer &&rhs) = delete;
  94. ^
  95. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  96. Buffer &operator = (Buffer &&rhs) = delete;
  97. ^
  98. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:4:
  99. In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
  100. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  101. Buffer(Buffer const &rhs) = delete;
  102. ^
  103. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  104. Buffer &operator = (Buffer const &rhs) = delete;
  105. ^
  106. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  107. Buffer &operator = (Buffer &&rhs) = delete;
  108. ^
  109. /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  110. Buffer &operator = (Buffer &&rhs) = delete;
  111. ^
  112. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:38:
  113. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  114. auto func = [&]() {
  115. ^
  116. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
  117. auto func = [&]() {
  118. ^
  119. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:43:
  120. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  121. auto func = [&]() {
  122. ^
  123. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
  124. auto func = [&]() {
  125. ^
  126. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:89:
  127. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  128. auto func = [&]() {
  129. ^
  130. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
  131. auto func = [&]() {
  132. ^
  133. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  134. for (auto& th : workerThreads) {
  135. ^
  136. /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]
  137. 16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  138. for (auto& th : workerThreads) {
  139. ^
  140. for (auto& th : workerThreads) {
  141. ^
  142. /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]
  143. for (auto& th : workerThreads) {
  144. ^
  145. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  146. for (auto& th : workerThreads) {
  147. ^
  148. /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]
  149. for (auto& th : workerThreads) {
  150. ^
  151. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:65:
  152. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  153. auto func = [&]() {
  154. ^
  155. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
  156. auto func = [&]() {
  157. ^
  158. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  159. for (auto& th : workerThreads) {
  160. ^
  161. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  162. for (auto& th : workerThreads) {
  163. ^
  164. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:67:
  165. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  166. auto func = [&]() {
  167. ^
  168. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
  169. auto func = [&]() {
  170. ^
  171. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  172. for (auto& th : workerThreads) {
  173. ^
  174. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  175. for (auto& th : workerThreads) {
  176. ^
  177. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:126:
  178. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  179. auto func = [&]() {
  180. ^
  181. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
  182. auto func = [&]() {
  183. ^
  184. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  185. for (auto& th : workerThreads) {
  186. ^
  187. /Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  188. for (auto& th : workerThreads) {
  189. ^
  190. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:1:
  191. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
  192. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
  193. /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'
  194. ::new ((void*)__p) _Tp(__a0);
  195. ^
  196. /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
  197. __alloc_traits::construct(this->__alloc(),
  198. ^
  199. /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
  200. workerThreads.push_back(std::thread(func));
  201. ^
  202. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
  203. thread(const thread&);
  204. ^
  205. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:1:
  206. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
  207. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
  208. /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'
  209. ::new ((void*)__p) _Tp(__a0);
  210. ^
  211. /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
  212. __alloc_traits::construct(this->__alloc(),
  213. ^
  214. /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
  215. workerThreads.push_back(std::thread(func));
  216. ^
  217. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
  218. thread(const thread&);
  219. ^
  220. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:1:
  221. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
  222. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
  223. /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'
  224. ::new ((void*)__p) _Tp(__a0);
  225. ^
  226. /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
  227. __alloc_traits::construct(this->__alloc(),
  228. ^
  229. /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
  230. workerThreads.push_back(std::thread(func));
  231. ^
  232. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
  233. thread(const thread&);
  234. ^
  235. 10 warnings and 3 errors generated.
  236. 10 warnings and 3 errors generated.
  237. 10 warnings and 3 errors generated.
  238. make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o] Error 1
  239. make[2]: *** Waiting for unfinished jobs....
  240. make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o] Error 1
  241. make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o] Error 1
  242. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  243. auto thread_func = [&](){
  244. ^
  245. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:21: error: expected expression
  246. auto thread_func = [&](){
  247. ^
  248. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  249. for (auto&th : workerThreads) {
  250. ^
  251. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:15: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  252. for (auto&th : workerThreads) {
  253. ^
  254. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  255. for (auto&& wInputPlaneV : wOutputPlane) {
  256. ^
  257. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  258. for (auto&& wInputPlaneV : wOutputPlane) {
  259. ^
  260. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  261. for (auto&& wInputPlaneV : wOutputPlane) {
  262. ^
  263. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  264. for (auto&& weightMatV : wInputPlane) {
  265. ^
  266. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  267. for (auto&& weightMatV : wInputPlane) {
  268. ^
  269. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:26: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  270. for (auto&& weightMatV : wInputPlane) {
  271. ^
  272. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:716:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  273. auto& weightMatRowV = weightMat.at(writingRow);
  274. ^
  275. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  276. for (auto&& obj : objectArray) {
  277. ^
  278. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  279. for (auto&& obj : objectArray) {
  280. ^
  281. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  282. for (auto&& obj : objectArray) {
  283. ^
  284. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:9: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  285. for (auto&& m : models) {
  286. ^
  287. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:13: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  288. for (auto&& m : models) {
  289. ^
  290. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:18: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  291. for (auto&& m : models) {
  292. ^
  293. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  294. for (auto&& weightMatrix : weights) {
  295. ^
  296. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  297. for (auto&& weightMatrix : weights) {
  298. ^
  299. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  300. for (auto&& weightMatrix : weights) {
  301. ^
  302. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  303. for (auto&& bias : biases) {
  304. ^
  305. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  306. for (auto&& bias : biases) {
  307. ^
  308. /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
  309. for (auto&& bias : biases) {
  310. ^
  311. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  312. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
  313. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
  314. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
  315. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
  316. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
  317. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
  318. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
  319. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
  320. /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'
  321. ::new ((void*)__p) _Tp(__a0);
  322. ^
  323. /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
  324. __alloc_traits::construct(this->__alloc(),
  325. ^
  326. /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
  327. workerThreads.push_back(std::thread(thread_func));
  328. ^
  329. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
  330. thread(const thread&);
  331. ^
  332. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  333. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
  334. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
  335. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
  336. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
  337. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
  338. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
  339. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
  340. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
  341. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: call to deleted constructor of 'W2Mat'
  342. ::new ((void*)__p) _Tp(__a0);
  343. ^ ~~~~
  344. /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
  345. __alloc_traits::construct(this->__alloc(),
  346. ^
  347. /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
  348. weights.push_back(std::move(writeMatrix));
  349. ^
  350. /Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:5: note: 'W2Mat' has been explicitly marked deleted here
  351. W2Mat(const W2Mat &) = delete;
  352. ^
  353. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  354. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
  355. In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
  356. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to 'construct'
  357. __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
  358. ~~~~~~~~~~~~~~~~^~~~~~~~~
  359. /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
  360. __push_back_slow_path(__x);
  361. ^
  362. /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
  363. weights.push_back(std::move(writeMatrix));
  364. ^
  365. /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]
  366. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  367. ^
  368. /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
  369. static void construct(allocator_type& __a, _Tp* __p)
  370. ^
  371. /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
  372. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  373. ^
  374. /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
  375. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  376. ^
  377. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
  378. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  379. ^
  380. /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
  381. __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
  382. ^
  383. /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
  384. __swap_out_circular_buffer(__v);
  385. ^
  386. /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
  387. __push_back_slow_path(__x);
  388. ^
  389. /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
  390. weights.push_back(std::move(writeMatrix));
  391. ^
  392. /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
  393. static void construct(allocator_type& __a, _Tp* __p)
  394. ^
  395. /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
  396. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  397. ^
  398. /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
  399. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  400. ^
  401. /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
  402. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  403. ^
  404. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
  405. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  406. ^~~~~~~~~
  407. /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]
  408. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  409. ^
  410. /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
  411. static void construct(allocator_type& __a, _Tp* __p)
  412. ^
  413. /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
  414. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  415. ^
  416. /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
  417. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  418. ^
  419. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
  420. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  421. ^~~~~~~~~
  422. /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]
  423. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  424. ^
  425. /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
  426. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  427. ^
  428. /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
  429. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  430. ^
  431. /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
  432. static void construct(allocator_type& __a, _Tp* __p)
  433. ^
  434. /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> >'
  435. ::new ((void*)__p) _Tp(__a0);
  436. ^ ~~~~
  437. /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
  438. __alloc_traits::construct(this->__alloc(),
  439. ^
  440. /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
  441. models.push_back(std::move(m));
  442. ^
  443. /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
  444. unique_ptr(unique_ptr&);
  445. ^
  446. /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
  447. _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
  448. ^
  449. /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
  450. _LIBCPP_INLINE_VISIBILITY explicit unique_ptr(pointer __p) _NOEXCEPT
  451. ^
  452. /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
  453. _LIBCPP_INLINE_VISIBILITY unique_ptr(__rv<unique_ptr> __u)
  454. ^
  455. /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>]
  456. unique_ptr(unique_ptr<_Up, _Ep>&);
  457. ^
  458. /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
  459. _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT
  460. ^
  461. /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
  462. _LIBCPP_INLINE_VISIBILITY unique_ptr(pointer __p, deleter_type __d)
  463. ^
  464. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
  465. In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
  466. In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
  467. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to 'construct'
  468. __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
  469. ~~~~~~~~~~~~~~~~^~~~~~~~~
  470. /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
  471. __push_back_slow_path(__x);
  472. ^
  473. /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
  474. models.push_back(std::move(m));
  475. ^
  476. /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> >]
  477. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  478. ^
  479. /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
  480. static void construct(allocator_type& __a, _Tp* __p)
  481. ^
  482. /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
  483. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  484. ^
  485. /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
  486. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  487. ^
  488. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
  489. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  490. ^
  491. /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
  492. __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
  493. ^
  494. /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
  495. __swap_out_circular_buffer(__v);
  496. ^
  497. /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
  498. __push_back_slow_path(__x);
  499. ^
  500. /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
  501. models.push_back(std::move(m));
  502. ^
  503. /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
  504. static void construct(allocator_type& __a, _Tp* __p)
  505. ^
  506. /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
  507. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  508. ^
  509. /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
  510. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  511. ^
  512. /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
  513. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  514. ^
  515. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
  516. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  517. ^~~~~~~~~
  518. /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> >]
  519. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  520. ^
  521. /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
  522. static void construct(allocator_type& __a, _Tp* __p)
  523. ^
  524. /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
  525. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  526. ^
  527. /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
  528. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  529. ^
  530. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
  531. construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
  532. ^~~~~~~~~
  533. /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> >]
  534. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
  535. ^
  536. /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
  537. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  538. ^
  539. /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
  540. static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
  541. ^
  542. /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
  543. static void construct(allocator_type& __a, _Tp* __p)
  544. ^
  545. 30 warnings and 15 errors generated.
  546. make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler.cpp.o] Error 1
  547. make[1]: *** [CMakeFiles/w2xc.dir/all] Error 2
  548. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment