Advertisement
Guest User

Untitled

a guest
Sep 15th, 2018
570
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.82 KB | None | 0 0
  1. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  2. from filesystem_test.cpp:2:
  3. c:\mingw\include\c++\8.1.0\bits\fs_path.h: In member function 'std::filesystem::__cxx11::path& std::filesystem::__cxx11::path::operator/=(const std::filesystem::__cxx11::path&)':
  4. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:47: error: no match for 'operator!=' (operand types are 'std::filesystem::__cxx11::path' and 'std::filesystem::__cxx11::path')
  5. || (__p.has_root_name() && __p.root_name() != root_name()))
  6. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  7. In file included from c:\mingw\include\c++\8.1.0\iosfwd:40,
  8. from c:\mingw\include\c++\8.1.0\ios:38,
  9. from c:\mingw\include\c++\8.1.0\ostream:38,
  10. from c:\mingw\include\c++\8.1.0\iostream:39,
  11. from filesystem_test.cpp:1:
  12. c:\mingw\include\c++\8.1.0\bits\postypes.h:221:5: note: candidate: 'template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)'
  13. operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  14. ^~~~~~~~
  15. c:\mingw\include\c++\8.1.0\bits\postypes.h:221:5: note: template argument deduction/substitution failed:
  16. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  17. from filesystem_test.cpp:2:
  18. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::fpos<_StateT>'
  19. || (__p.has_root_name() && __p.root_name() != root_name()))
  20. ^
  21. In file included from c:\mingw\include\c++\8.1.0\bits\stl_algobase.h:64,
  22. from c:\mingw\include\c++\8.1.0\bits\char_traits.h:39,
  23. from c:\mingw\include\c++\8.1.0\ios:40,
  24. from c:\mingw\include\c++\8.1.0\ostream:38,
  25. from c:\mingw\include\c++\8.1.0\iostream:39,
  26. from filesystem_test.cpp:1:
  27. c:\mingw\include\c++\8.1.0\bits\stl_pair.h:456:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
  28. operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  29. ^~~~~~~~
  30. c:\mingw\include\c++\8.1.0\bits\stl_pair.h:456:5: note: template argument deduction/substitution failed:
  31. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  32. from filesystem_test.cpp:2:
  33. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::pair<_T1, _T2>'
  34. || (__p.has_root_name() && __p.root_name() != root_name()))
  35. ^
  36. In file included from c:\mingw\include\c++\8.1.0\bits\stl_algobase.h:67,
  37. from c:\mingw\include\c++\8.1.0\bits\char_traits.h:39,
  38. from c:\mingw\include\c++\8.1.0\ios:40,
  39. from c:\mingw\include\c++\8.1.0\ostream:38,
  40. from c:\mingw\include\c++\8.1.0\iostream:39,
  41. from filesystem_test.cpp:1:
  42. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:311:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
  43. operator!=(const reverse_iterator<_Iterator>& __x,
  44. ^~~~~~~~
  45. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:311:5: note: template argument deduction/substitution failed:
  46. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  47. from filesystem_test.cpp:2:
  48. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::reverse_iterator<_Iterator>'
  49. || (__p.has_root_name() && __p.root_name() != root_name()))
  50. ^
  51. In file included from c:\mingw\include\c++\8.1.0\bits\stl_algobase.h:67,
  52. from c:\mingw\include\c++\8.1.0\bits\char_traits.h:39,
  53. from c:\mingw\include\c++\8.1.0\ios:40,
  54. from c:\mingw\include\c++\8.1.0\ostream:38,
  55. from c:\mingw\include\c++\8.1.0\iostream:39,
  56. from filesystem_test.cpp:1:
  57. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:349:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
  58. operator!=(const reverse_iterator<_IteratorL>& __x,
  59. ^~~~~~~~
  60. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:349:5: note: template argument deduction/substitution failed:
  61. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  62. from filesystem_test.cpp:2:
  63. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::reverse_iterator<_Iterator>'
  64. || (__p.has_root_name() && __p.root_name() != root_name()))
  65. ^
  66. In file included from c:\mingw\include\c++\8.1.0\bits\stl_algobase.h:67,
  67. from c:\mingw\include\c++\8.1.0\bits\char_traits.h:39,
  68. from c:\mingw\include\c++\8.1.0\ios:40,
  69. from c:\mingw\include\c++\8.1.0\ostream:38,
  70. from c:\mingw\include\c++\8.1.0\iostream:39,
  71. from filesystem_test.cpp:1:
  72. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:1124:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
  73. operator!=(const move_iterator<_IteratorL>& __x,
  74. ^~~~~~~~
  75. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:1124:5: note: template argument deduction/substitution failed:
  76. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  77. from filesystem_test.cpp:2:
  78. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::move_iterator<_IteratorL>'
  79. || (__p.has_root_name() && __p.root_name() != root_name()))
  80. ^
  81. In file included from c:\mingw\include\c++\8.1.0\bits\stl_algobase.h:67,
  82. from c:\mingw\include\c++\8.1.0\bits\char_traits.h:39,
  83. from c:\mingw\include\c++\8.1.0\ios:40,
  84. from c:\mingw\include\c++\8.1.0\ostream:38,
  85. from c:\mingw\include\c++\8.1.0\iostream:39,
  86. from filesystem_test.cpp:1:
  87. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:1130:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
  88. operator!=(const move_iterator<_Iterator>& __x,
  89. ^~~~~~~~
  90. c:\mingw\include\c++\8.1.0\bits\stl_iterator.h:1130:5: note: template argument deduction/substitution failed:
  91. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  92. from filesystem_test.cpp:2:
  93. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::move_iterator<_IteratorL>'
  94. || (__p.has_root_name() && __p.root_name() != root_name()))
  95. ^
  96. In file included from c:\mingw\include\c++\8.1.0\string:41,
  97. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  98. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  99. from c:\mingw\include\c++\8.1.0\ios:42,
  100. from c:\mingw\include\c++\8.1.0\ostream:38,
  101. from c:\mingw\include\c++\8.1.0\iostream:39,
  102. from filesystem_test.cpp:1:
  103. c:\mingw\include\c++\8.1.0\bits\allocator.h:158:5: note: candidate: 'template<class _T1, class _T2> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_T2>&)'
  104. operator!=(const allocator<_T1>&, const allocator<_T2>&)
  105. ^~~~~~~~
  106. c:\mingw\include\c++\8.1.0\bits\allocator.h:158:5: note: template argument deduction/substitution failed:
  107. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  108. from filesystem_test.cpp:2:
  109. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::allocator<_CharT>'
  110. || (__p.has_root_name() && __p.root_name() != root_name()))
  111. ^
  112. In file included from c:\mingw\include\c++\8.1.0\string:41,
  113. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  114. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  115. from c:\mingw\include\c++\8.1.0\ios:42,
  116. from c:\mingw\include\c++\8.1.0\ostream:38,
  117. from c:\mingw\include\c++\8.1.0\iostream:39,
  118. from filesystem_test.cpp:1:
  119. c:\mingw\include\c++\8.1.0\bits\allocator.h:164:5: note: candidate: 'template<class _Tp> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_CharT>&)'
  120. operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  121. ^~~~~~~~
  122. c:\mingw\include\c++\8.1.0\bits\allocator.h:164:5: note: template argument deduction/substitution failed:
  123. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  124. from filesystem_test.cpp:2:
  125. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::allocator<_CharT>'
  126. || (__p.has_root_name() && __p.root_name() != root_name()))
  127. ^
  128. In file included from c:\mingw\include\c++\8.1.0\bits\basic_string.h:48,
  129. from c:\mingw\include\c++\8.1.0\string:52,
  130. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  131. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  132. from c:\mingw\include\c++\8.1.0\ios:42,
  133. from c:\mingw\include\c++\8.1.0\ostream:38,
  134. from c:\mingw\include\c++\8.1.0\iostream:39,
  135. from filesystem_test.cpp:1:
  136. c:\mingw\include\c++\8.1.0\string_view:454:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator!=(std::basic_string_view<_CharT, _Traits>, std::basic_string_view<_CharT, _Traits>)'
  137. operator!=(basic_string_view<_CharT, _Traits> __x,
  138. ^~~~~~~~
  139. c:\mingw\include\c++\8.1.0\string_view:454:5: note: template argument deduction/substitution failed:
  140. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  141. from filesystem_test.cpp:2:
  142. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'std::basic_string_view<_CharT, _Traits>'
  143. || (__p.has_root_name() && __p.root_name() != root_name()))
  144. ^
  145. In file included from c:\mingw\include\c++\8.1.0\bits\basic_string.h:48,
  146. from c:\mingw\include\c++\8.1.0\string:52,
  147. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  148. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  149. from c:\mingw\include\c++\8.1.0\ios:42,
  150. from c:\mingw\include\c++\8.1.0\ostream:38,
  151. from c:\mingw\include\c++\8.1.0\iostream:39,
  152. from filesystem_test.cpp:1:
  153. c:\mingw\include\c++\8.1.0\string_view:460:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator!=(std::basic_string_view<_CharT, _Traits>, std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >)'
  154. operator!=(basic_string_view<_CharT, _Traits> __x,
  155. ^~~~~~~~
  156. c:\mingw\include\c++\8.1.0\string_view:460:5: note: template argument deduction/substitution failed:
  157. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  158. from filesystem_test.cpp:2:
  159. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'std::basic_string_view<_CharT, _Traits>'
  160. || (__p.has_root_name() && __p.root_name() != root_name()))
  161. ^
  162. In file included from c:\mingw\include\c++\8.1.0\bits\basic_string.h:48,
  163. from c:\mingw\include\c++\8.1.0\string:52,
  164. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  165. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  166. from c:\mingw\include\c++\8.1.0\ios:42,
  167. from c:\mingw\include\c++\8.1.0\ostream:38,
  168. from c:\mingw\include\c++\8.1.0\iostream:39,
  169. from filesystem_test.cpp:1:
  170. c:\mingw\include\c++\8.1.0\string_view:466:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator!=(std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >, std::basic_string_view<_CharT, _Traits>)'
  171. operator!=(__detail::__idt<basic_string_view<_CharT, _Traits>> __x,
  172. ^~~~~~~~
  173. c:\mingw\include\c++\8.1.0\string_view:466:5: note: template argument deduction/substitution failed:
  174. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  175. from filesystem_test.cpp:2:
  176. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'std::basic_string_view<_CharT, _Traits>'
  177. || (__p.has_root_name() && __p.root_name() != root_name()))
  178. ^
  179. In file included from c:\mingw\include\c++\8.1.0\string:52,
  180. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  181. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  182. from c:\mingw\include\c++\8.1.0\ios:42,
  183. from c:\mingw\include\c++\8.1.0\ostream:38,
  184. from c:\mingw\include\c++\8.1.0\iostream:39,
  185. from filesystem_test.cpp:1:
  186. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6056:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
  187. operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  188. ^~~~~~~~
  189. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6056:5: note: template argument deduction/substitution failed:
  190. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  191. from filesystem_test.cpp:2:
  192. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
  193. || (__p.has_root_name() && __p.root_name() != root_name()))
  194. ^
  195. In file included from c:\mingw\include\c++\8.1.0\string:52,
  196. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  197. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  198. from c:\mingw\include\c++\8.1.0\ios:42,
  199. from c:\mingw\include\c++\8.1.0\ostream:38,
  200. from c:\mingw\include\c++\8.1.0\iostream:39,
  201. from filesystem_test.cpp:1:
  202. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6069:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
  203. operator!=(const _CharT* __lhs,
  204. ^~~~~~~~
  205. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6069:5: note: template argument deduction/substitution failed:
  206. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  207. from filesystem_test.cpp:2:
  208. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: mismatched types 'const _CharT*' and 'std::filesystem::__cxx11::path'
  209. || (__p.has_root_name() && __p.root_name() != root_name()))
  210. ^
  211. In file included from c:\mingw\include\c++\8.1.0\string:52,
  212. from c:\mingw\include\c++\8.1.0\bits\locale_classes.h:40,
  213. from c:\mingw\include\c++\8.1.0\bits\ios_base.h:41,
  214. from c:\mingw\include\c++\8.1.0\ios:42,
  215. from c:\mingw\include\c++\8.1.0\ostream:38,
  216. from c:\mingw\include\c++\8.1.0\iostream:39,
  217. from filesystem_test.cpp:1:
  218. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6081:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
  219. operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  220. ^~~~~~~~
  221. c:\mingw\include\c++\8.1.0\bits\basic_string.h:6081:5: note: template argument deduction/substitution failed:
  222. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  223. from filesystem_test.cpp:2:
  224. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
  225. || (__p.has_root_name() && __p.root_name() != root_name()))
  226. ^
  227. In file included from c:\mingw\include\c++\8.1.0\bits\ios_base.h:46,
  228. from c:\mingw\include\c++\8.1.0\ios:42,
  229. from c:\mingw\include\c++\8.1.0\ostream:38,
  230. from c:\mingw\include\c++\8.1.0\iostream:39,
  231. from filesystem_test.cpp:1:
  232. c:\mingw\include\c++\8.1.0\system_error:319:3: note: candidate: 'bool std::operator!=(const std::error_code&, const std::error_code&)'
  233. operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
  234. ^~~~~~~~
  235. c:\mingw\include\c++\8.1.0\system_error:319:3: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const std::error_code&'
  236. c:\mingw\include\c++\8.1.0\system_error:323:3: note: candidate: 'bool std::operator!=(const std::error_code&, const std::error_condition&)'
  237. operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
  238. ^~~~~~~~
  239. c:\mingw\include\c++\8.1.0\system_error:323:3: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const std::error_code&'
  240. c:\mingw\include\c++\8.1.0\system_error:327:3: note: candidate: 'bool std::operator!=(const std::error_condition&, const std::error_code&)'
  241. operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
  242. ^~~~~~~~
  243. c:\mingw\include\c++\8.1.0\system_error:327:3: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const std::error_condition&'
  244. c:\mingw\include\c++\8.1.0\system_error:331:3: note: candidate: 'bool std::operator!=(const std::error_condition&, const std::error_condition&)'
  245. operator!=(const error_condition& __lhs,
  246. ^~~~~~~~
  247. c:\mingw\include\c++\8.1.0\system_error:331:3: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const std::error_condition&'
  248. In file included from c:\mingw\include\c++\8.1.0\bits\locale_facets.h:48,
  249. from c:\mingw\include\c++\8.1.0\bits\basic_ios.h:37,
  250. from c:\mingw\include\c++\8.1.0\ios:44,
  251. from c:\mingw\include\c++\8.1.0\ostream:38,
  252. from c:\mingw\include\c++\8.1.0\iostream:39,
  253. from filesystem_test.cpp:1:
  254. c:\mingw\include\c++\8.1.0\bits\streambuf_iterator.h:209:5: note: candidate: 'template<class _CharT, class _Traits> bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)'
  255. operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
  256. ^~~~~~~~
  257. c:\mingw\include\c++\8.1.0\bits\streambuf_iterator.h:209:5: note: template argument deduction/substitution failed:
  258. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  259. from filesystem_test.cpp:2:
  260. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
  261. || (__p.has_root_name() && __p.root_name() != root_name()))
  262. ^
  263. In file included from c:\mingw\include\c++\8.1.0\vector:64,
  264. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:37,
  265. from c:\mingw\include\c++\8.1.0\filesystem:37,
  266. from filesystem_test.cpp:2:
  267. c:\mingw\include\c++\8.1.0\bits\stl_vector.h:1772:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)'
  268. operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  269. ^~~~~~~~
  270. c:\mingw\include\c++\8.1.0\bits\stl_vector.h:1772:5: note: template argument deduction/substitution failed:
  271. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  272. from filesystem_test.cpp:2:
  273. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::vector<_Tp, _Alloc>'
  274. || (__p.has_root_name() && __p.root_name() != root_name()))
  275. ^
  276. In file included from c:\mingw\include\c++\8.1.0\tuple:39,
  277. from c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:37,
  278. from c:\mingw\include\c++\8.1.0\bits\locale_conv.h:41,
  279. from c:\mingw\include\c++\8.1.0\locale:43,
  280. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:38,
  281. from c:\mingw\include\c++\8.1.0\filesystem:37,
  282. from filesystem_test.cpp:2:
  283. c:\mingw\include\c++\8.1.0\array:257:5: note: candidate: 'template<class _Tp, long long unsigned int _Nm> bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
  284. operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  285. ^~~~~~~~
  286. c:\mingw\include\c++\8.1.0\array:257:5: note: template argument deduction/substitution failed:
  287. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  288. from filesystem_test.cpp:2:
  289. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::array<_Tp, _Nm>'
  290. || (__p.has_root_name() && __p.root_name() != root_name()))
  291. ^
  292. In file included from c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:37,
  293. from c:\mingw\include\c++\8.1.0\bits\locale_conv.h:41,
  294. from c:\mingw\include\c++\8.1.0\locale:43,
  295. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:38,
  296. from c:\mingw\include\c++\8.1.0\filesystem:37,
  297. from filesystem_test.cpp:2:
  298. c:\mingw\include\c++\8.1.0\tuple:1439:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator!=(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)'
  299. operator!=(const tuple<_TElements...>& __t,
  300. ^~~~~~~~
  301. c:\mingw\include\c++\8.1.0\tuple:1439:5: note: template argument deduction/substitution failed:
  302. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  303. from filesystem_test.cpp:2:
  304. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::tuple<_Tps ...>'
  305. || (__p.has_root_name() && __p.root_name() != root_name()))
  306. ^
  307. In file included from c:\mingw\include\c++\8.1.0\bits\locale_conv.h:41,
  308. from c:\mingw\include\c++\8.1.0\locale:43,
  309. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:38,
  310. from c:\mingw\include\c++\8.1.0\filesystem:37,
  311. from filesystem_test.cpp:2:
  312. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:706:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator!=(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)'
  313. operator!=(const unique_ptr<_Tp, _Dp>& __x,
  314. ^~~~~~~~
  315. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:706:5: note: template argument deduction/substitution failed:
  316. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  317. from filesystem_test.cpp:2:
  318. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
  319. || (__p.has_root_name() && __p.root_name() != root_name()))
  320. ^
  321. In file included from c:\mingw\include\c++\8.1.0\bits\locale_conv.h:41,
  322. from c:\mingw\include\c++\8.1.0\locale:43,
  323. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:38,
  324. from c:\mingw\include\c++\8.1.0\filesystem:37,
  325. from filesystem_test.cpp:2:
  326. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:712:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator!=(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)'
  327. operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  328. ^~~~~~~~
  329. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:712:5: note: template argument deduction/substitution failed:
  330. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  331. from filesystem_test.cpp:2:
  332. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
  333. || (__p.has_root_name() && __p.root_name() != root_name()))
  334. ^
  335. In file included from c:\mingw\include\c++\8.1.0\bits\locale_conv.h:41,
  336. from c:\mingw\include\c++\8.1.0\locale:43,
  337. from c:\mingw\include\c++\8.1.0\bits\fs_path.h:38,
  338. from c:\mingw\include\c++\8.1.0\filesystem:37,
  339. from filesystem_test.cpp:2:
  340. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:717:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator!=(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)'
  341. operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  342. ^~~~~~~~
  343. c:\mingw\include\c++\8.1.0\bits\unique_ptr.h:717:5: note: template argument deduction/substitution failed:
  344. In file included from c:\mingw\include\c++\8.1.0\filesystem:37,
  345. from filesystem_test.cpp:2:
  346. c:\mingw\include\c++\8.1.0\bits\fs_path.h:237:60: note: 'std::filesystem::__cxx11::path' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
  347. || (__p.has_root_name() && __p.root_name() != root_name()))
  348. ^
  349. c:\mingw\include\c++\8.1.0\bits\fs_path.h: At global scope:
  350. c:\mingw\include\c++\8.1.0\bits\fs_path.h:511:18: error: specialization of 'std::filesystem::__cxx11::path::__is_encoded_char<wchar_t>' after instantiation
  351. struct path::__is_encoded_char<wchar_t> : std::true_type
  352. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  353. c:\mingw\include\c++\8.1.0\bits\fs_path.h: In function 'decltype (std::filesystem::__cxx11::path(__source, std::locale::classic())) std::filesystem::__cxx11::u8path(const _Source&)':
  354. c:\mingw\include\c++\8.1.0\bits\fs_path.h:589:68: error: no matching function for call to 'u8path(std::__cxx11::basic_string<char>::const_iterator, std::__cxx11::basic_string<char>::const_iterator)'
  355. return std::filesystem::u8path(__u8str.begin(), __u8str.end());
  356. ^
  357. c:\mingw\include\c++\8.1.0\bits\fs_path.h:584:5: note: candidate: 'template<class _Source> decltype (std::filesystem::__cxx11::path(__source, std::locale::classic())) std::filesystem::__cxx11::u8path(const _Source&)'
  358. u8path(const _Source& __source)
  359. ^~~~~~
  360. c:\mingw\include\c++\8.1.0\bits\fs_path.h:584:5: note: template argument deduction/substitution failed:
  361. c:\mingw\include\c++\8.1.0\bits\fs_path.h:589:68: note: candidate expects 1 argument, 2 provided
  362. return std::filesystem::u8path(__u8str.begin(), __u8str.end());
  363. ^
  364. c:\mingw\include\c++\8.1.0\bits\fs_path.h: In function 'decltype (std::filesystem::__cxx11::path(__first, __last, std::locale::classic())) std::filesystem::__cxx11::u8path(_InputIterator, _InputIterator)':
  365. c:\mingw\include\c++\8.1.0\bits\fs_path.h:601:20: error: 'value_type' was not declared in this scope
  366. codecvt_utf8<value_type> __cvt;
  367. ^~~~~~~~~~
  368. c:\mingw\include\c++\8.1.0\bits\fs_path.h:601:20: note: suggested alternative: 'false_type'
  369. codecvt_utf8<value_type> __cvt;
  370. ^~~~~~~~~~
  371. false_type
  372. c:\mingw\include\c++\8.1.0\bits\fs_path.h:601:30: error: template argument 1 is invalid
  373. codecvt_utf8<value_type> __cvt;
  374. ^
  375. c:\mingw\include\c++\8.1.0\bits\fs_path.h:602:7: error: 'string_type' was not declared in this scope
  376. string_type __tmp;
  377. ^~~~~~~~~~~
  378. c:\mingw\include\c++\8.1.0\bits\fs_path.h:602:7: note: suggested alternative: 'string_view'
  379. string_type __tmp;
  380. ^~~~~~~~~~~
  381. string_view
  382. c:\mingw\include\c++\8.1.0\bits\fs_path.h:603:45: error: '__tmp' was not declared in this scope
  383. if (__str_codecvt_in(__first, __last, __tmp, __cvt))
  384. ^~~~~
  385. c:\mingw\include\c++\8.1.0\bits\fs_path.h:603:45: note: suggested alternative: 'rmtmp'
  386. if (__str_codecvt_in(__first, __last, __tmp, __cvt))
  387. ^~~~~
  388. rmtmp
  389. c:\mingw\include\c++\8.1.0\bits\fs_path.h: In member function 'int std::filesystem::__cxx11::path::compare(const string_type&) const':
  390. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1014:72: error: no matching function for call to 'std::filesystem::__cxx11::path::path(const string_type&)'
  391. path::compare(const string_type& __s) const { return compare(path(__s)); }
  392. ^
  393. c:\mingw\include\c++\8.1.0\bits\fs_path.h:402:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path::string_type, std::filesystem::__cxx11::path::_Type)'
  394. path(string_type __str, _Type __type) : _M_pathname(__str), _M_type(__type)
  395. ^~~~
  396. c:\mingw\include\c++\8.1.0\bits\fs_path.h:402:5: note: candidate expects 2 arguments, 1 provided
  397. c:\mingw\include\c++\8.1.0\bits\fs_path.h:202:7: note: candidate: 'template<class _InputIterator, class _Require, class _Require2> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, const std::locale&, std::filesystem::__cxx11::path::format)'
  398. path(_InputIterator __first, _InputIterator __last, const locale& __loc,
  399. ^~~~
  400. c:\mingw\include\c++\8.1.0\bits\fs_path.h:202:7: note: template argument deduction/substitution failed:
  401. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1014:72: note: candidate expects 4 arguments, 1 provided
  402. path::compare(const string_type& __s) const { return compare(path(__s)); }
  403. ^
  404. c:\mingw\include\c++\8.1.0\bits\fs_path.h:194:7: note: candidate: 'template<class _Source, class _Require, class _Require2> std::filesystem::__cxx11::path::path(const _Source&, const std::locale&, std::filesystem::__cxx11::path::format)'
  405. path(_Source const& __source, const locale& __loc, format = auto_format)
  406. ^~~~
  407. c:\mingw\include\c++\8.1.0\bits\fs_path.h:194:7: note: template argument deduction/substitution failed:
  408. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1014:72: note: candidate expects 3 arguments, 1 provided
  409. path::compare(const string_type& __s) const { return compare(path(__s)); }
  410. ^
  411. c:\mingw\include\c++\8.1.0\bits\fs_path.h:187:7: note: candidate: 'template<class _InputIterator, class _Require> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, std::filesystem::__cxx11::path::format)'
  412. path(_InputIterator __first, _InputIterator __last, format = auto_format)
  413. ^~~~
  414. c:\mingw\include\c++\8.1.0\bits\fs_path.h:187:7: note: template argument deduction/substitution failed:
  415. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1014:72: note: candidate expects 3 arguments, 1 provided
  416. path::compare(const string_type& __s) const { return compare(path(__s)); }
  417. ^
  418. c:\mingw\include\c++\8.1.0\bits\fs_path.h:180:7: note: candidate: 'template<class _Source, class _Require> std::filesystem::__cxx11::path::path(const _Source&, std::filesystem::__cxx11::path::format)'
  419. path(_Source const& __source, format = auto_format)
  420. ^~~~
  421. c:\mingw\include\c++\8.1.0\bits\fs_path.h:180:7: note: template argument deduction/substitution failed:
  422. c:\mingw\include\c++\8.1.0\bits\fs_path.h:174:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path::string_type&&, std::filesystem::__cxx11::path::format)' <near match>
  423. path(string_type&& __source, format = auto_format)
  424. ^~~~
  425. c:\mingw\include\c++\8.1.0\bits\fs_path.h:174:5: note: conversion of argument 1 would be ill-formed:
  426. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1014:69: error: cannot bind rvalue reference of type 'std::filesystem::__cxx11::path::string_type&&' {aka 'std::__cxx11::basic_string<wchar_t>&&'} to lvalue of type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}
  427. path::compare(const string_type& __s) const { return compare(path(__s)); }
  428. ^~~
  429. c:\mingw\include\c++\8.1.0\bits\fs_path.h:167:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path&&)'
  430. path(path&& __p) noexcept
  431. ^~~~
  432. c:\mingw\include\c++\8.1.0\bits\fs_path.h:167:5: note: no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::filesystem::__cxx11::path&&'
  433. c:\mingw\include\c++\8.1.0\bits\fs_path.h:165:5: note: candidate: 'std::filesystem::__cxx11::path::path(const std::filesystem::__cxx11::path&)'
  434. path(const path& __p) = default;
  435. ^~~~
  436. c:\mingw\include\c++\8.1.0\bits\fs_path.h:165:5: note: no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const std::filesystem::__cxx11::path&'
  437. c:\mingw\include\c++\8.1.0\bits\fs_path.h:163:5: note: candidate: 'std::filesystem::__cxx11::path::path()'
  438. path() noexcept { }
  439. ^~~~
  440. c:\mingw\include\c++\8.1.0\bits\fs_path.h:163:5: note: candidate expects 0 arguments, 1 provided
  441. c:\mingw\include\c++\8.1.0\bits\fs_path.h: In member function 'int std::filesystem::__cxx11::path::compare(std::basic_string_view<wchar_t>) const':
  442. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1021:28: error: no matching function for call to 'std::filesystem::__cxx11::path::path(std::basic_string_view<wchar_t>&)'
  443. { return compare(path(__s)); }
  444. ^
  445. c:\mingw\include\c++\8.1.0\bits\fs_path.h:402:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path::string_type, std::filesystem::__cxx11::path::_Type)'
  446. path(string_type __str, _Type __type) : _M_pathname(__str), _M_type(__type)
  447. ^~~~
  448. c:\mingw\include\c++\8.1.0\bits\fs_path.h:402:5: note: candidate expects 2 arguments, 1 provided
  449. c:\mingw\include\c++\8.1.0\bits\fs_path.h:202:7: note: candidate: 'template<class _InputIterator, class _Require, class _Require2> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, const std::locale&, std::filesystem::__cxx11::path::format)'
  450. path(_InputIterator __first, _InputIterator __last, const locale& __loc,
  451. ^~~~
  452. c:\mingw\include\c++\8.1.0\bits\fs_path.h:202:7: note: template argument deduction/substitution failed:
  453. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1021:28: note: candidate expects 4 arguments, 1 provided
  454. { return compare(path(__s)); }
  455. ^
  456. c:\mingw\include\c++\8.1.0\bits\fs_path.h:194:7: note: candidate: 'template<class _Source, class _Require, class _Require2> std::filesystem::__cxx11::path::path(const _Source&, const std::locale&, std::filesystem::__cxx11::path::format)'
  457. path(_Source const& __source, const locale& __loc, format = auto_format)
  458. ^~~~
  459. c:\mingw\include\c++\8.1.0\bits\fs_path.h:194:7: note: template argument deduction/substitution failed:
  460. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1021:28: note: candidate expects 3 arguments, 1 provided
  461. { return compare(path(__s)); }
  462. ^
  463. c:\mingw\include\c++\8.1.0\bits\fs_path.h:187:7: note: candidate: 'template<class _InputIterator, class _Require> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, std::filesystem::__cxx11::path::format)'
  464. path(_InputIterator __first, _InputIterator __last, format = auto_format)
  465. ^~~~
  466. c:\mingw\include\c++\8.1.0\bits\fs_path.h:187:7: note: template argument deduction/substitution failed:
  467. c:\mingw\include\c++\8.1.0\bits\fs_path.h:1021:28: note: candidate expects 3 arguments, 1 provided
  468. { return compare(path(__s)); }
  469. ^
  470. c:\mingw\include\c++\8.1.0\bits\fs_path.h:180:7: note: candidate: 'template<class _Source, class _Require> std::filesystem::__cxx11::path::path(const _Source&, std::filesystem::__cxx11::path::format)'
  471. path(_Source const& __source, format = auto_format)
  472. ^~~~
  473. c:\mingw\include\c++\8.1.0\bits\fs_path.h:180:7: note: template argument deduction/substitution failed:
  474. c:\mingw\include\c++\8.1.0\bits\fs_path.h:174:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path::string_type&&, std::filesystem::__cxx11::path::format)'
  475. path(string_type&& __source, format = auto_format)
  476. ^~~~
  477. c:\mingw\include\c++\8.1.0\bits\fs_path.h:174:5: note: no known conversion for argument 1 from 'std::basic_string_view<wchar_t>' to 'std::filesystem::__cxx11::path::string_type&&' {aka 'std::__cxx11::basic_string<wchar_t>&&'}
  478. c:\mingw\include\c++\8.1.0\bits\fs_path.h:167:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path&&)'
  479. path(path&& __p) noexcept
  480. ^~~~
  481. c:\mingw\include\c++\8.1.0\bits\fs_path.h:167:5: note: no known conversion for argument 1 from 'std::basic_string_view<wchar_t>' to 'std::filesystem::__cxx11::path&&'
  482. c:\mingw\include\c++\8.1.0\bits\fs_path.h:165:5: note: candidate: 'std::filesystem::__cxx11::path::path(const std::filesystem::__cxx11::path&)'
  483. path(const path& __p) = default;
  484. ^~~~
  485. c:\mingw\include\c++\8.1.0\bits\fs_path.h:165:5: note: no known conversion for argument 1 from 'std::basic_string_view<wchar_t>' to 'const std::filesystem::__cxx11::path&'
  486. c:\mingw\include\c++\8.1.0\bits\fs_path.h:163:5: note: candidate: 'std::filesystem::__cxx11::path::path()'
  487. path() noexcept { }
  488. ^~~~
  489. c:\mingw\include\c++\8.1.0\bits\fs_path.h:163:5: note: candidate expects 0 arguments, 1 provided
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement