Guest User

Untitled

a guest
Mar 28th, 2018
1,086
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 160.00 KB | None | 0 0
  1. hpp:52,
  2. from c:\mingw\include\opencv2\opencv.hpp:46,
  3. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  4. c:\mingw\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type
  5. __MINGW_EXTENSION typedef __int64 __time64_t;
  6. ^~~~~~~~~~~~~~~~~
  7. c:\mingw\include\crtdefs.h:138:9: error: '__time64_t' does not name a type
  8. typedef __time64_t time_t;
  9. ^~~~~~~~~~
  10. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\stdint.h:9:0,
  11. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:41,
  12. from c:\mingw\include\opencv2\core\hal\interface.h:38,
  13. from c:\mingw\include\opencv2\core\cvdef.h:67,
  14. from c:\mingw\include\opencv2\core.hpp:52,
  15. from c:\mingw\include\opencv2\opencv.hpp:46,
  16. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  17. c:\mingw\include\stdint.h:41:1: error: '__MINGW_EXTENSION' does not name a type
  18. __MINGW_EXTENSION typedef long long int64_t;
  19. ^~~~~~~~~~~~~~~~~
  20. c:\mingw\include\stdint.h:42:1: error: '__MINGW_EXTENSION' does not name a type
  21. __MINGW_EXTENSION typedef unsigned long long uint64_t;
  22. ^~~~~~~~~~~~~~~~~
  23. c:\mingw\include\stdint.h:51:1: error: '__MINGW_EXTENSION' does not name a type
  24. __MINGW_EXTENSION typedef long long int_least64_t;
  25. ^~~~~~~~~~~~~~~~~
  26. c:\mingw\include\stdint.h:52:1: error: '__MINGW_EXTENSION' does not name a type
  27. __MINGW_EXTENSION typedef unsigned long long uint_least64_t;
  28. ^~~~~~~~~~~~~~~~~
  29. c:\mingw\include\stdint.h:64:1: error: '__MINGW_EXTENSION' does not name a type
  30. __MINGW_EXTENSION typedef long long int_fast64_t;
  31. ^~~~~~~~~~~~~~~~~
  32. c:\mingw\include\stdint.h:65:1: error: '__MINGW_EXTENSION' does not name a type
  33. __MINGW_EXTENSION typedef unsigned long long uint_fast64_t;
  34. ^~~~~~~~~~~~~~~~~
  35. c:\mingw\include\stdint.h:68:1: error: '__MINGW_EXTENSION' does not name a type
  36. __MINGW_EXTENSION typedef long long intmax_t;
  37. ^~~~~~~~~~~~~~~~~
  38. c:\mingw\include\stdint.h:69:1: error: '__MINGW_EXTENSION' does not name a type
  39. __MINGW_EXTENSION typedef unsigned long long uintmax_t;
  40. ^~~~~~~~~~~~~~~~~
  41. In file included from c:\mingw\include\opencv2\core\hal\interface.h:38:0,
  42. from c:\mingw\include\opencv2\core\cvdef.h:67,
  43. from c:\mingw\include\opencv2\core.hpp:52,
  44. from c:\mingw\include\opencv2\opencv.hpp:46,
  45. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  46. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:51:11: error: '::int64_t' has not been declared
  47. using ::int64_t;
  48. ^~~~~~~
  49. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:56:11: error: '::int_fast64_t' has not been declared
  50. using ::int_fast64_t;
  51. ^~~~~~~~~~~~
  52. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:61:11: error: '::int_least64_t' has not been declared
  53. using ::int_least64_t;
  54. ^~~~~~~~~~~~~
  55. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:63:11: error: '::intmax_t' has not been declared
  56. using ::intmax_t;
  57. ^~~~~~~~
  58. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:69:11: error: '::uint64_t' has not been declared
  59. using ::uint64_t;
  60. ^~~~~~~~
  61. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:74:11: error: '::uint_fast64_t' has not been declared
  62. using ::uint_fast64_t;
  63. ^~~~~~~~~~~~~
  64. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:79:11: error: '::uint_least64_t' has not been declared
  65. using ::uint_least64_t;
  66. ^~~~~~~~~~~~~~
  67. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdint:81:11: error: '::uintmax_t' has not been declared
  68. using ::uintmax_t;
  69. ^~~~~~~~~
  70. In file included from c:\mingw\include\opencv2\core\cvdef.h:67:0,
  71. from c:\mingw\include\opencv2\core.hpp:52,
  72. from c:\mingw\include\opencv2\opencv.hpp:46,
  73. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  74. c:\mingw\include\opencv2\core\hal\interface.h:61:12: error: 'int64_t' does not name a type
  75. typedef int64_t int64;
  76. ^~~~~~~
  77. c:\mingw\include\opencv2\core\hal\interface.h:62:12: error: 'uint64_t' does not name a type
  78. typedef uint64_t uint64;
  79. ^~~~~~~~
  80. In file included from c:\mingw\include\opencv2\core.hpp:52:0,
  81. from c:\mingw\include\opencv2\opencv.hpp:46,
  82. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  83. c:\mingw\include\opencv2\core\cvdef.h:316:5: error: 'int64' does not name a type
  84. int64 i;
  85. ^~~~~
  86. c:\mingw\include\opencv2\core\cvdef.h:317:5: error: 'uint64' does not name a type
  87. uint64 u;
  88. ^~~~~~
  89. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  90. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  91. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  92. from c:\mingw\include\opencv2\core\base.hpp:53,
  93. from c:\mingw\include\opencv2\core.hpp:54,
  94. from c:\mingw\include\opencv2\opencv.hpp:46,
  95. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  96. c:\mingw\include\stdlib.h:114:35: error: '__mb_cur_max' was not declared in this scope
  97. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  98. ^~~~~~~~~~~~
  99. c:\mingw\include\stdlib.h:180:41: error: redefinition of 'int* __MINGW_IMP_SYMBOL'
  100. extern int * __MINGW_IMP_SYMBOL(__argc);
  101. ^
  102. c:\mingw\include\stdlib.h:114:16: note: 'int* __MINGW_IMP_SYMBOL' previously defined here
  103. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  104. ^~~~~~~~~~~~~~~~~~
  105. c:\mingw\include\stdlib.h:180:35: error: '__argc' was not declared in this scope
  106. extern int * __MINGW_IMP_SYMBOL(__argc);
  107. ^~~~~~
  108. c:\mingw\include\stdlib.h:188:44: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL'
  109. extern char *** __MINGW_IMP_SYMBOL(__argv);
  110. ^
  111. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  112. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  113. ^~~~~~~~~~~~~~~~~~
  114. c:\mingw\include\stdlib.h:188:38: error: '__argv' was not declared in this scope
  115. extern char *** __MINGW_IMP_SYMBOL(__argv);
  116. ^~~~~~
  117. c:\mingw\include\stdlib.h:196:48: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL'
  118. extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv);
  119. ^
  120. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  121. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  122. ^~~~~~~~~~~~~~~~~~
  123. c:\mingw\include\stdlib.h:196:41: error: '__wargv' was not declared in this scope
  124. extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv);
  125. ^~~~~~~
  126. c:\mingw\include\stdlib.h:208:46: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL'
  127. extern char *** __MINGW_IMP_SYMBOL(_environ);
  128. ^
  129. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  130. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  131. ^~~~~~~~~~~~~~~~~~
  132. c:\mingw\include\stdlib.h:208:38: error: '_environ' was not declared in this scope
  133. extern char *** __MINGW_IMP_SYMBOL(_environ);
  134. ^~~~~~~~
  135. c:\mingw\include\stdlib.h:217:50: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL'
  136. extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron);
  137. ^
  138. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  139. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  140. ^~~~~~~~~~~~~~~~~~
  141. c:\mingw\include\stdlib.h:217:41: error: '_wenviron' was not declared in this scope
  142. extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron);
  143. ^~~~~~~~~
  144. c:\mingw\include\stdlib.h:226:44: error: conflicting declaration 'char** __MINGW_IMP_SYMBOL'
  145. extern char ** __MINGW_IMP_SYMBOL(_pgmptr);
  146. ^
  147. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  148. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  149. ^~~~~~~~~~~~~~~~~~
  150. c:\mingw\include\stdlib.h:226:37: error: '_pgmptr' was not declared in this scope
  151. extern char ** __MINGW_IMP_SYMBOL(_pgmptr);
  152. ^~~~~~~
  153. c:\mingw\include\stdlib.h:235:48: error: conflicting declaration 'wchar_t** __MINGW_IMP_SYMBOL'
  154. extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr);
  155. ^
  156. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  157. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  158. ^~~~~~~~~~~~~~~~~~
  159. c:\mingw\include\stdlib.h:235:40: error: '_wpgmptr' was not declared in this scope
  160. extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr);
  161. ^~~~~~~~
  162. c:\mingw\include\stdlib.h:245:41: error: redefinition of 'int* __MINGW_IMP_SYMBOL'
  163. extern int * __MINGW_IMP_SYMBOL(_fmode);
  164. ^
  165. c:\mingw\include\stdlib.h:114:16: note: 'int* __MINGW_IMP_SYMBOL' previously defined here
  166. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  167. ^~~~~~~~~~~~~~~~~~
  168. c:\mingw\include\stdlib.h:245:35: error: '_fmode' was not declared in this scope
  169. extern int * __MINGW_IMP_SYMBOL(_fmode);
  170. ^~~~~~
  171. c:\mingw\include\stdlib.h:256:55: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL'
  172. extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform);
  173. ^
  174. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  175. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  176. ^~~~~~~~~~~~~~~~~~
  177. c:\mingw\include\stdlib.h:256:44: error: '_osplatform' was not declared in this scope
  178. extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform);
  179. ^~~~~~~~~~~
  180. c:\mingw\include\stdlib.h:265:50: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL'
  181. extern unsigned int * __MINGW_IMP_SYMBOL(_osver);
  182. ^
  183. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  184. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  185. ^~~~~~~~~~~~~~~~~~
  186. c:\mingw\include\stdlib.h:265:44: error: '_osver' was not declared in this scope
  187. extern unsigned int * __MINGW_IMP_SYMBOL(_osver);
  188. ^~~~~~
  189. c:\mingw\include\stdlib.h:274:51: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL'
  190. extern unsigned int * __MINGW_IMP_SYMBOL(_winver);
  191. ^
  192. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  193. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  194. ^~~~~~~~~~~~~~~~~~
  195. c:\mingw\include\stdlib.h:274:44: error: '_winver' was not declared in this scope
  196. extern unsigned int * __MINGW_IMP_SYMBOL(_winver);
  197. ^~~~~~~
  198. c:\mingw\include\stdlib.h:283:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL'
  199. extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor);
  200. ^
  201. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  202. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  203. ^~~~~~~~~~~~~~~~~~
  204. c:\mingw\include\stdlib.h:283:44: error: '_winmajor' was not declared in this scope
  205. extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor);
  206. ^~~~~~~~~
  207. c:\mingw\include\stdlib.h:292:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL'
  208. extern unsigned int * __MINGW_IMP_SYMBOL(_winminor);
  209. ^
  210. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  211. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  212. ^~~~~~~~~~~~~~~~~~
  213. c:\mingw\include\stdlib.h:292:44: error: '_winminor' was not declared in this scope
  214. extern unsigned int * __MINGW_IMP_SYMBOL(_winminor);
  215. ^~~~~~~~~
  216. c:\mingw\include\stdlib.h:307:81: error: expected ')' before '(' token
  217. template <typename _CountofType,size_t _SizeOfArray> char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
  218. ^
  219. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  220. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  221. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  222. from c:\mingw\include\opencv2\core\base.hpp:53,
  223. from c:\mingw\include\opencv2\core.hpp:54,
  224. from c:\mingw\include\opencv2\opencv.hpp:46,
  225. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  226. c:\mingw\include\stdlib.h:342:3: error: '__MINGW_EXTENSION' does not name a type
  227. __MINGW_EXTENSION __int64 __cdecl _abs64(__int64);
  228. ^~~~~~~~~~~~~~~~~
  229. c:\mingw\include\stdlib.h:366:3: error: '__MINGW_EXTENSION' does not name a type
  230. __MINGW_EXTENSION unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64 _Int64);
  231. ^~~~~~~~~~~~~~~~~
  232. c:\mingw\include\stdlib.h:368:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  233. char *__cdecl getenv(const char *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  234. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235. c:\mingw\include\stdlib.h:370:3: error: '__MINGW_EXTENSION' does not name a type
  236. __MINGW_EXTENSION _CRTIMP char *__cdecl _i64toa(__int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  237. ^~~~~~~~~~~~~~~~~
  238. c:\mingw\include\stdlib.h:371:3: error: '__MINGW_EXTENSION' does not name a type
  239. __MINGW_EXTENSION _CRTIMP char *__cdecl _ui64toa(unsigned __int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  240. ^~~~~~~~~~~~~~~~~
  241. c:\mingw\include\stdlib.h:372:3: error: '__MINGW_EXTENSION' does not name a type
  242. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64(const char *_String);
  243. ^~~~~~~~~~~~~~~~~
  244. c:\mingw\include\stdlib.h:373:3: error: '__MINGW_EXTENSION' does not name a type
  245. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64_l(const char *_String,_locale_t _Locale);
  246. ^~~~~~~~~~~~~~~~~
  247. c:\mingw\include\stdlib.h:374:3: error: '__MINGW_EXTENSION' does not name a type
  248. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix);
  249. ^~~~~~~~~~~~~~~~~
  250. c:\mingw\include\stdlib.h:375:3: error: '__MINGW_EXTENSION' does not name a type
  251. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale);
  252. ^~~~~~~~~~~~~~~~~
  253. c:\mingw\include\stdlib.h:376:3: error: '__MINGW_EXTENSION' does not name a type
  254. __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix);
  255. ^~~~~~~~~~~~~~~~~
  256. c:\mingw\include\stdlib.h:377:3: error: '__MINGW_EXTENSION' does not name a type
  257. __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale);
  258. ^~~~~~~~~~~~~~~~~
  259. c:\mingw\include\stdlib.h:379:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  260. _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  261. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262. c:\mingw\include\stdlib.h:447:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  263. _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  264. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  265. c:\mingw\include\stdlib.h:448:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  266. int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  267. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  268. c:\mingw\include\stdlib.h:449:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  269. _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  270. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  271. c:\mingw\include\stdlib.h:450:108: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  272. size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  273. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274. c:\mingw\include\stdlib.h:451:137: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  275. _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  276. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277. c:\mingw\include\stdlib.h:481:72: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  278. _CRTIMP wchar_t *__cdecl _itow(int _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  279. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  280. c:\mingw\include\stdlib.h:482:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  281. _CRTIMP wchar_t *__cdecl _ltow(long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  282. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  283. c:\mingw\include\stdlib.h:483:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  284. _CRTIMP wchar_t *__cdecl _ultow(unsigned long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  285. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  286. c:\mingw\include\stdlib.h:511:62: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  287. _CRTIMP wchar_t *__cdecl _wgetenv(const wchar_t *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  288. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  289. c:\mingw\include\stdlib.h:523:3: error: '__MINGW_EXTENSION' does not name a type
  290. __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(__int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  291. ^~~~~~~~~~~~~~~~~
  292. c:\mingw\include\stdlib.h:524:3: error: '__MINGW_EXTENSION' does not name a type
  293. __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _ui64tow(unsigned __int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  294. ^~~~~~~~~~~~~~~~~
  295. c:\mingw\include\stdlib.h:525:3: error: '__MINGW_EXTENSION' does not name a type
  296. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64(const wchar_t *_Str);
  297. ^~~~~~~~~~~~~~~~~
  298. c:\mingw\include\stdlib.h:526:3: error: '__MINGW_EXTENSION' does not name a type
  299. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64_l(const wchar_t *_Str,_locale_t _Locale);
  300. ^~~~~~~~~~~~~~~~~
  301. c:\mingw\include\stdlib.h:527:3: error: '__MINGW_EXTENSION' does not name a type
  302. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix);
  303. ^~~~~~~~~~~~~~~~~
  304. c:\mingw\include\stdlib.h:528:3: error: '__MINGW_EXTENSION' does not name a type
  305. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64_l(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix,_locale_t _Locale);
  306. ^~~~~~~~~~~~~~~~~
  307. c:\mingw\include\stdlib.h:529:3: error: '__MINGW_EXTENSION' does not name a type
  308. __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix);
  309. ^~~~~~~~~~~~~~~~~
  310. c:\mingw\include\stdlib.h:530:3: error: '__MINGW_EXTENSION' does not name a type
  311. __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64_l(const wchar_t *_Str ,wchar_t **_EndPtr,int _Radix,_locale_t _Locale);
  312. ^~~~~~~~~~~~~~~~~
  313. c:\mingw\include\stdlib.h:539:86: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  314. _CRTIMP char *__cdecl _ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  315. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316. c:\mingw\include\stdlib.h:540:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  317. _CRTIMP char *__cdecl _fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  318. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319. c:\mingw\include\stdlib.h:541:75: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  320. _CRTIMP char *__cdecl _gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  321. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  322. c:\mingw\include\stdlib.h:581:3: error: '__MINGW_EXTENSION' does not name a type
  323. __MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned __int64 _Val,int _Shift);
  324. ^~~~~~~~~~~~~~~~~
  325. c:\mingw\include\stdlib.h:582:3: error: '__MINGW_EXTENSION' does not name a type
  326. __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 Value,int Shift);
  327. ^~~~~~~~~~~~~~~~~
  328. c:\mingw\include\stdlib.h:593:3: error: '__MINGW_EXTENSION' does not name a type
  329. __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 _Val,int _Shift);
  330. ^~~~~~~~~~~~~~~~~
  331. c:\mingw\include\stdlib.h:594:96: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  332. _CRTIMP void __cdecl _searchenv(const char *_Filename,const char *_EnvVar,char *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  333. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  334. c:\mingw\include\stdlib.h:595:109: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  335. _CRTIMP void __cdecl _splitpath(const char *_FullPath,char *_Drive,char *_Dir,char *_Filename,char *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  336. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  337. c:\mingw\include\stdlib.h:606:106: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  338. _CRTIMP void __cdecl _wsearchenv(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  339. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  340. c:\mingw\include\stdlib.h:607:125: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  341. _CRTIMP void __cdecl _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t *_Dir,wchar_t *_Filename,wchar_t *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  342. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  343. c:\mingw\include\stdlib.h:634:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  344. char *__cdecl ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  345. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  346. c:\mingw\include\stdlib.h:635:74: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  347. char *__cdecl fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  348. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. c:\mingw\include\stdlib.h:636:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  350. char *__cdecl gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  351. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  352. c:\mingw\include\stdlib.h:637:57: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  353. char *__cdecl itoa(int _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  354. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355. c:\mingw\include\stdlib.h:638:58: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  356. char *__cdecl ltoa(long _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  357. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  358. c:\mingw\include\stdlib.h:639:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  359. int __cdecl putenv(const char *_EnvString) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  360. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  361. c:\mingw\include\stdlib.h:643:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  362. void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  363. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  364. c:\mingw\include\stdlib.h:646:68: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  365. char *__cdecl ultoa(unsigned long _Val,char *_Dstbuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  366. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367. c:\mingw\include\stdlib.h:653:20: error: '__MINGW_EXTENSION' does not name a type
  368. typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t;
  369. ^~~~~~~~~~~~~~~~~
  370. c:\mingw\include\stdlib.h:655:3: error: '__MINGW_EXTENSION' does not name a type
  371. __MINGW_EXTENSION lldiv_t __cdecl lldiv(long long, long long);
  372. ^~~~~~~~~~~~~~~~~
  373. c:\mingw\include\stdlib.h:657:3: error: '__MINGW_EXTENSION' does not name a type
  374. __MINGW_EXTENSION long long __cdecl llabs(long long);
  375. ^~~~~~~~~~~~~~~~~
  376. c:\mingw\include\stdlib.h:659:3: error: '__MINGW_EXTENSION' does not name a type
  377. __MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(long long _j) { return (_j >= 0 ? _j : -_j); }
  378. ^~~~~~~~~~~~~~~~~
  379. c:\mingw\include\stdlib.h:662:3: error: '__MINGW_EXTENSION' does not name a type
  380. __MINGW_EXTENSION long long __cdecl strtoll(const char * __restrict__, char ** __restrict, int);
  381. ^~~~~~~~~~~~~~~~~
  382. c:\mingw\include\stdlib.h:663:3: error: '__MINGW_EXTENSION' does not name a type
  383. __MINGW_EXTENSION unsigned long long __cdecl strtoull(const char * __restrict__, char ** __restrict__, int);
  384. ^~~~~~~~~~~~~~~~~
  385. c:\mingw\include\stdlib.h:666:3: error: '__MINGW_EXTENSION' does not name a type
  386. __MINGW_EXTENSION long long __cdecl atoll (const char *);
  387. ^~~~~~~~~~~~~~~~~
  388. c:\mingw\include\stdlib.h:669:3: error: '__MINGW_EXTENSION' does not name a type
  389. __MINGW_EXTENSION long long __cdecl wtoll (const wchar_t *);
  390. ^~~~~~~~~~~~~~~~~
  391. c:\mingw\include\stdlib.h:670:3: error: '__MINGW_EXTENSION' does not name a type
  392. __MINGW_EXTENSION char *__cdecl lltoa (long long, char *, int);
  393. ^~~~~~~~~~~~~~~~~
  394. c:\mingw\include\stdlib.h:671:3: error: '__MINGW_EXTENSION' does not name a type
  395. __MINGW_EXTENSION char *__cdecl ulltoa (unsigned long long , char *, int);
  396. ^~~~~~~~~~~~~~~~~
  397. c:\mingw\include\stdlib.h:672:3: error: '__MINGW_EXTENSION' does not name a type
  398. __MINGW_EXTENSION wchar_t *__cdecl lltow (long long, wchar_t *, int);
  399. ^~~~~~~~~~~~~~~~~
  400. c:\mingw\include\stdlib.h:673:3: error: '__MINGW_EXTENSION' does not name a type
  401. __MINGW_EXTENSION wchar_t *__cdecl ulltow (unsigned long long, wchar_t *, int);
  402. ^~~~~~~~~~~~~~~~~
  403. c:\mingw\include\stdlib.h:677:3: error: '__MINGW_EXTENSION' does not name a type
  404. __MINGW_EXTENSION __CRT_INLINE long long __cdecl atoll (const char * _c) { return _atoi64 (_c); }
  405. ^~~~~~~~~~~~~~~~~
  406. c:\mingw\include\stdlib.h:678:3: error: '__MINGW_EXTENSION' does not name a type
  407. __MINGW_EXTENSION __CRT_INLINE char *__cdecl lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); }
  408. ^~~~~~~~~~~~~~~~~
  409. c:\mingw\include\stdlib.h:679:3: error: '__MINGW_EXTENSION' does not name a type
  410. __MINGW_EXTENSION __CRT_INLINE char *__cdecl ulltoa (unsigned long long _n, char * _c, int _i) { return _ui64toa (_n, _c, _i); }
  411. ^~~~~~~~~~~~~~~~~
  412. c:\mingw\include\stdlib.h:680:3: error: '__MINGW_EXTENSION' does not name a type
  413. __MINGW_EXTENSION __CRT_INLINE long long __cdecl wtoll (const wchar_t * _w) { return _wtoi64 (_w); }
  414. ^~~~~~~~~~~~~~~~~
  415. c:\mingw\include\stdlib.h:681:3: error: '__MINGW_EXTENSION' does not name a type
  416. __MINGW_EXTENSION __CRT_INLINE wchar_t *__cdecl lltow (long long _n, wchar_t * _w, int _i) { return _i64tow (_n, _w, _i); }
  417. ^~~~~~~~~~~~~~~~~
  418. c:\mingw\include\stdlib.h:682:3: error: '__MINGW_EXTENSION' does not name a type
  419. __MINGW_EXTENSION __CRT_INLINE wchar_t *__cdecl ulltow (unsigned long long _n, wchar_t * _w, int _i) { return _ui64tow (_n, _w, _i); }
  420. ^~~~~~~~~~~~~~~~~
  421. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59:0,
  422. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  423. from c:\mingw\include\opencv2\core\base.hpp:53,
  424. from c:\mingw\include\opencv2\core.hpp:54,
  425. from c:\mingw\include\opencv2\opencv.hpp:46,
  426. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  427. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:143:11: error: '::getenv' has not been declared
  428. using ::getenv;
  429. ^~~~~~
  430. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:166:11: error: '::wcstombs' has not been declared
  431. using ::wcstombs;
  432. ^~~~~~~~
  433. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:167:11: error: '::wctomb' has not been declared
  434. using ::wctomb;
  435. ^~~~~~
  436. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:230:11: error: '::llabs' has not been declared
  437. using ::llabs;
  438. ^~~~~
  439. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib: In function 'lldiv_t __gnu_cxx::div(long long int, long long int)':
  440. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:234:22: error: 'struct lldiv_t' has no member named 'quot'
  441. { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
  442. ^~~~
  443. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:234:44: error: 'struct lldiv_t' has no member named 'rem'
  444. { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
  445. ^~~
  446. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib: At global scope:
  447. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:236:11: error: '::lldiv' has not been declared
  448. using ::lldiv;
  449. ^~~~~
  450. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:247:11: error: '::atoll' has not been declared
  451. using ::atoll;
  452. ^~~~~
  453. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:248:11: error: '::strtoll' has not been declared
  454. using ::strtoll;
  455. ^~~~~~~
  456. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:249:11: error: '::strtoull' has not been declared
  457. using ::strtoull;
  458. ^~~~~~~~
  459. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:264:22: error: '__gnu_cxx::llabs' has not been declared
  460. using ::__gnu_cxx::llabs;
  461. ^~~~~
  462. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:266:22: error: '__gnu_cxx::lldiv' has not been declared
  463. using ::__gnu_cxx::lldiv;
  464. ^~~~~
  465. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:268:22: error: '__gnu_cxx::atoll' has not been declared
  466. using ::__gnu_cxx::atoll;
  467. ^~~~~
  468. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:270:22: error: '__gnu_cxx::strtoll' has not been declared
  469. using ::__gnu_cxx::strtoll;
  470. ^~~~~~~
  471. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:271:22: error: '__gnu_cxx::strtoull' has not been declared
  472. using ::__gnu_cxx::strtoull;
  473. ^~~~~~~~
  474. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:42:0,
  475. from c:\mingw\include\opencv2\core\cvstd.hpp:54,
  476. from c:\mingw\include\opencv2\core\base.hpp:56,
  477. from c:\mingw\include\opencv2\core.hpp:54,
  478. from c:\mingw\include\opencv2\opencv.hpp:46,
  479. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  480. c:\mingw\include\string.h:46:3: error: '_CONST_RETURN' does not name a type
  481. _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount);
  482. ^~~~~~~~~~~~~
  483. c:\mingw\include\string.h:50:95: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  484. void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  485. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  486. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:42:0,
  487. from c:\mingw\include\opencv2\core\cvstd.hpp:54,
  488. from c:\mingw\include\opencv2\core\base.hpp:56,
  489. from c:\mingw\include\opencv2\core.hpp:54,
  490. from c:\mingw\include\opencv2\opencv.hpp:46,
  491. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  492. c:\mingw\include\string.h:55:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  493. void * __cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  494. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  495. c:\mingw\include\string.h:56:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  496. int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  497. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  498. c:\mingw\include\string.h:59:47: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  499. char * __cdecl _strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  500. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  501. c:\mingw\include\string.h:60:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  502. char * __cdecl _strset_l(char *_Str,int _Val,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  503. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  504. c:\mingw\include\string.h:66:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  505. void *__cdecl memmove(void *_Dst,const void *_Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  506. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  507. c:\mingw\include\string.h:68:3: error: '_CONST_RETURN' does not name a type
  508. _CONST_RETURN char *__cdecl strchr(const char *_Str,int _Val);
  509. ^~~~~~~~~~~~~
  510. c:\mingw\include\string.h:81:56: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  511. _CRTIMP char *__cdecl _strerror(const char *_ErrMsg) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  512. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  513. c:\mingw\include\string.h:82:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  514. char *__cdecl strerror(int) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  515. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  516. c:\mingw\include\string.h:83:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  517. _CRTIMP char *__cdecl _strlwr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  518. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  519. c:\mingw\include\string.h:84:51: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  520. char *strlwr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  521. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522. c:\mingw\include\string.h:85:100: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  523. char *__cdecl strncat(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  524. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525. c:\mingw\include\string.h:89:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  526. char *strncpy(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  527. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  528. c:\mingw\include\string.h:90:72: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  529. _CRTIMP char *__cdecl _strnset(char *_Str,int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  530. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  531. c:\mingw\include\string.h:91:84: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  532. _CRTIMP char *__cdecl _strnset_l(char *str,int c,size_t count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  533. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534. c:\mingw\include\string.h:92:3: error: '_CONST_RETURN' does not name a type
  535. _CONST_RETURN char *__cdecl strpbrk(const char *_Str,const char *_Control);
  536. ^~~~~~~~~~~~~
  537. c:\mingw\include\string.h:93:3: error: '_CONST_RETURN' does not name a type
  538. _CONST_RETURN char *__cdecl strrchr(const char *_Str,int _Ch);
  539. ^~~~~~~~~~~~~
  540. c:\mingw\include\string.h:96:3: error: '_CONST_RETURN' does not name a type
  541. _CONST_RETURN char *__cdecl strstr(const char *_Str,const char *_SubStr);
  542. ^~~~~~~~~~~~~
  543. c:\mingw\include\string.h:97:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  544. char *__cdecl strtok(char * __restrict__ _Str,const char * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  545. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  546. c:\mingw\include\string.h:102:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  547. _CRTIMP char *__cdecl _strupr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  548. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  549. c:\mingw\include\string.h:103:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  550. _CRTIMP char *_strupr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  551. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  552. c:\mingw\include\string.h:108:42: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  553. char *__cdecl strdup(const char *_Src) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  554. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  555. c:\mingw\include\string.h:109:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  556. int __cdecl strcmpi(const char *_Str1,const char *_Str2) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  557. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  558. c:\mingw\include\string.h:110:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  559. int __cdecl stricmp(const char *_Str1,const char *_Str2) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  560. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  561. c:\mingw\include\string.h:111:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  562. char *__cdecl strlwr(char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  563. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  564. c:\mingw\include\string.h:112:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  565. int __cdecl strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  566. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  567. c:\mingw\include\string.h:122:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  568. char *__cdecl strnset(char *_Str,int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  569. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  570. c:\mingw\include\string.h:123:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  571. char *__cdecl strrev(char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  572. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  573. c:\mingw\include\string.h:124:45: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  574. char *__cdecl strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  575. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  576. c:\mingw\include\string.h:125:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  577. char *__cdecl strupr(char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  578. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  579. c:\mingw\include\string.h:132:94: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  580. wchar_t *__cdecl wcscat(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  581. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  582. c:\mingw\include\string.h:133:3: error: '_CONST_RETURN' does not name a type
  583. _CONST_RETURN wchar_t *__cdecl wcschr(const wchar_t *_Str,wchar_t _Ch);
  584. ^~~~~~~~~~~~~
  585. c:\mingw\include\string.h:135:94: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  586. wchar_t *__cdecl wcscpy(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  587. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  588. c:\mingw\include\string.h:139:101: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  589. wchar_t *wcsncat(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  590. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  591. c:\mingw\include\string.h:141:101: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  592. wchar_t *wcsncpy(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  593. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  594. c:\mingw\include\string.h:142:130: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  595. wchar_t *__cdecl _wcsncpy_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  596. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  597. c:\mingw\include\string.h:143:3: error: '_CONST_RETURN' does not name a type
  598. _CONST_RETURN wchar_t *__cdecl wcspbrk(const wchar_t *_Str,const wchar_t *_Control);
  599. ^~~~~~~~~~~~~
  600. c:\mingw\include\string.h:144:3: error: '_CONST_RETURN' does not name a type
  601. _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch);
  602. ^~~~~~~~~~~~~
  603. c:\mingw\include\string.h:146:3: error: '_CONST_RETURN' does not name a type
  604. _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr);
  605. ^~~~~~~~~~~~~
  606. c:\mingw\include\string.h:147:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  607. wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  608. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  609. c:\mingw\include\string.h:148:51: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  610. _CRTIMP wchar_t *__cdecl _wcserror(int _ErrNum) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  611. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  612. c:\mingw\include\string.h:149:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  613. _CRTIMP wchar_t *__cdecl __wcserror(const wchar_t *_Str) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  614. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  615. c:\mingw\include\string.h:154:82: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  616. _CRTIMP wchar_t *__cdecl _wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  617. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  618. c:\mingw\include\string.h:156:64: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  619. _CRTIMP wchar_t *__cdecl _wcsset(wchar_t *_Str,wchar_t _Val) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  620. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  621. c:\mingw\include\string.h:157:54: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  622. _CRTIMP wchar_t *__cdecl _wcslwr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  623. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  624. c:\mingw\include\string.h:158:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  625. _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  626. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  627. c:\mingw\include\string.h:159:54: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  628. _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  629. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  630. c:\mingw\include\string.h:160:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  631. _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  632. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  633. c:\mingw\include\string.h:173:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  634. wchar_t *__cdecl wcsdup(const wchar_t *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  635. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  636. c:\mingw\include\string.h:175:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  637. int __cdecl wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  638. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  639. c:\mingw\include\string.h:176:84: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  640. int __cdecl wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  641. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  642. c:\mingw\include\string.h:177:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  643. wchar_t *__cdecl wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  644. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  645. c:\mingw\include\string.h:178:42: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  646. wchar_t *__cdecl wcsrev(wchar_t *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  647. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  648. c:\mingw\include\string.h:179:55: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  649. wchar_t *__cdecl wcsset(wchar_t *_Str,wchar_t _Val) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  650. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  651. c:\mingw\include\string.h:180:42: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  652. wchar_t *__cdecl wcslwr(wchar_t *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  653. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  654. c:\mingw\include\string.h:181:42: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  655. wchar_t *__cdecl wcsupr(wchar_t *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  656. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  657. c:\mingw\include\string.h:182:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  658. int __cdecl wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  659. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  660. In file included from c:\mingw\include\opencv2\core\cvstd.hpp:54:0,
  661. from c:\mingw\include\opencv2\core\base.hpp:56,
  662. from c:\mingw\include\opencv2\core.hpp:54,
  663. from c:\mingw\include\opencv2\opencv.hpp:46,
  664. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  665. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:75:11: error: '::memchr' has not been declared
  666. using ::memchr;
  667. ^~~~~~
  668. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:77:11: error: '::memcpy' has not been declared
  669. using ::memcpy;
  670. ^~~~~~
  671. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:78:11: error: '::memmove' has not been declared
  672. using ::memmove;
  673. ^~~~~~~
  674. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:85:11: error: '::strerror' has not been declared
  675. using ::strerror;
  676. ^~~~~~~~
  677. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:87:11: error: '::strncat' has not been declared
  678. using ::strncat;
  679. ^~~~~~~
  680. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:89:11: error: '::strncpy' has not been declared
  681. using ::strncpy;
  682. ^~~~~~~
  683. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:91:11: error: '::strtok' has not been declared
  684. using ::strtok;
  685. ^~~~~~
  686. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:93:11: error: '::strchr' has not been declared
  687. using ::strchr;
  688. ^~~~~~
  689. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:94:11: error: '::strpbrk' has not been declared
  690. using ::strpbrk;
  691. ^~~~~~~
  692. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:95:11: error: '::strrchr' has not been declared
  693. using ::strrchr;
  694. ^~~~~~~
  695. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstring:96:11: error: '::strstr' has not been declared
  696. using ::strstr;
  697. ^~~~~~
  698. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cctype:42:0,
  699. from c:\mingw\include\opencv2\core\cvstd.hpp:55,
  700. from c:\mingw\include\opencv2\core\base.hpp:56,
  701. from c:\mingw\include\opencv2\core.hpp:54,
  702. from c:\mingw\include\opencv2\opencv.hpp:46,
  703. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  704. c:\mingw\include\ctype.h:36:54: error: conflicting declaration 'short unsigned int** __MINGW_IMP_SYMBOL'
  705. extern unsigned short ** __MINGW_IMP_SYMBOL(_pctype);
  706. ^
  707. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  708. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  709. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  710. from c:\mingw\include\opencv2\core\base.hpp:53,
  711. from c:\mingw\include\opencv2\core.hpp:54,
  712. from c:\mingw\include\opencv2\opencv.hpp:46,
  713. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  714. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  715. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  716. ^~~~~~~~~~~~~~~~~~
  717. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cctype:42:0,
  718. from c:\mingw\include\opencv2\core\cvstd.hpp:55,
  719. from c:\mingw\include\opencv2\core\base.hpp:56,
  720. from c:\mingw\include\opencv2\core.hpp:54,
  721. from c:\mingw\include\opencv2\opencv.hpp:46,
  722. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  723. c:\mingw\include\ctype.h:36:47: error: '_pctype' was not declared in this scope
  724. extern unsigned short ** __MINGW_IMP_SYMBOL(_pctype);
  725. ^~~~~~~
  726. c:\mingw\include\ctype.h:51:54: error: conflicting declaration 'short unsigned int** __MINGW_IMP_SYMBOL'
  727. extern unsigned short ** __MINGW_IMP_SYMBOL(_wctype);
  728. ^
  729. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  730. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  731. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  732. from c:\mingw\include\opencv2\core\base.hpp:53,
  733. from c:\mingw\include\opencv2\core.hpp:54,
  734. from c:\mingw\include\opencv2\opencv.hpp:46,
  735. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  736. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  737. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  738. ^~~~~~~~~~~~~~~~~~
  739. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cctype:42:0,
  740. from c:\mingw\include\opencv2\core\cvstd.hpp:55,
  741. from c:\mingw\include\opencv2\core\base.hpp:56,
  742. from c:\mingw\include\opencv2\core.hpp:54,
  743. from c:\mingw\include\opencv2\opencv.hpp:46,
  744. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  745. c:\mingw\include\ctype.h:51:47: error: '_wctype' was not declared in this scope
  746. extern unsigned short ** __MINGW_IMP_SYMBOL(_wctype);
  747. ^~~~~~~
  748. c:\mingw\include\ctype.h:63:55: error: conflicting declaration 'short unsigned int** __MINGW_IMP_SYMBOL'
  749. extern unsigned short ** __MINGW_IMP_SYMBOL(_pwctype);
  750. ^
  751. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  752. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  753. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  754. from c:\mingw\include\opencv2\core\base.hpp:53,
  755. from c:\mingw\include\opencv2\core.hpp:54,
  756. from c:\mingw\include\opencv2\opencv.hpp:46,
  757. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  758. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  759. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  760. ^~~~~~~~~~~~~~~~~~
  761. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cctype:42:0,
  762. from c:\mingw\include\opencv2\core\cvstd.hpp:55,
  763. from c:\mingw\include\opencv2\core\base.hpp:56,
  764. from c:\mingw\include\opencv2\core.hpp:54,
  765. from c:\mingw\include\opencv2\opencv.hpp:46,
  766. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  767. c:\mingw\include\ctype.h:63:47: error: '_pwctype' was not declared in this scope
  768. extern unsigned short ** __MINGW_IMP_SYMBOL(_pwctype);
  769. ^~~~~~~~
  770. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  771. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  772. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  773. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  774. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  775. from c:\mingw\include\opencv2\core\base.hpp:56,
  776. from c:\mingw\include\opencv2\core.hpp:54,
  777. from c:\mingw\include\opencv2\opencv.hpp:46,
  778. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  779. c:\mingw\include\wchar.h:64:34: error: expected ')' before '(' token
  780. extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */
  781. ^
  782. c:\mingw\include\wchar.h:99:5: error: '__MINGW_EXTENSION' does not name a type
  783. __MINGW_EXTENSION __int64 size;
  784. ^~~~~~~~~~~~~~~~~
  785. c:\mingw\include\wchar.h:105:5: error: '__time64_t' does not name a type
  786. __time64_t time_create;
  787. ^~~~~~~~~~
  788. c:\mingw\include\wchar.h:106:5: error: '__time64_t' does not name a type
  789. __time64_t time_access;
  790. ^~~~~~~~~~
  791. c:\mingw\include\wchar.h:107:5: error: '__time64_t' does not name a type
  792. __time64_t time_write;
  793. ^~~~~~~~~~
  794. c:\mingw\include\wchar.h:114:5: error: '__time64_t' does not name a type
  795. __time64_t time_create;
  796. ^~~~~~~~~~
  797. c:\mingw\include\wchar.h:115:5: error: '__time64_t' does not name a type
  798. __time64_t time_access;
  799. ^~~~~~~~~~
  800. c:\mingw\include\wchar.h:116:5: error: '__time64_t' does not name a type
  801. __time64_t time_write;
  802. ^~~~~~~~~~
  803. c:\mingw\include\wchar.h:117:5: error: '__MINGW_EXTENSION' does not name a type
  804. __MINGW_EXTENSION __int64 size;
  805. ^~~~~~~~~~~~~~~~~
  806. c:\mingw\include\wchar.h:290:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  807. _CRTIMP int __cdecl _wcreat(const wchar_t *_Filename,int _PermissionMode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  808. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  809. c:\mingw\include\wchar.h:295:61: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  810. _CRTIMP wchar_t *__cdecl _wmktemp(wchar_t *_TemplateName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  811. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  812. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  813. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  814. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  815. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  816. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  817. from c:\mingw\include\opencv2\core\base.hpp:56,
  818. from c:\mingw\include\opencv2\core.hpp:54,
  819. from c:\mingw\include\opencv2\opencv.hpp:46,
  820. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  821. c:\mingw\include\wchar.h:303:74: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  822. _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  823. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  824. c:\mingw\include\wchar.h:304:90: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  825. _CRTIMP int __cdecl _wsopen(const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  826. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  827. In file included from c:\mingw\include\wchar.h:392:0,
  828. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44,
  829. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  830. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  831. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  832. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  833. from c:\mingw\include\opencv2\core\base.hpp:56,
  834. from c:\mingw\include\opencv2\core.hpp:54,
  835. from c:\mingw\include\opencv2\opencv.hpp:46,
  836. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  837. c:\mingw\include\_mingw_off_t.h:13:3: error: '__MINGW_EXTENSION' does not name a type
  838. __MINGW_EXTENSION typedef long long _off64_t;
  839. ^~~~~~~~~~~~~~~~~
  840. c:\mingw\include\_mingw_off_t.h:15:3: error: '__MINGW_EXTENSION' does not name a type
  841. __MINGW_EXTENSION typedef long long off64_t;
  842. ^~~~~~~~~~~~~~~~~
  843. In file included from c:\mingw\include\wchar.h:393:0,
  844. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44,
  845. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  846. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  847. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  848. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  849. from c:\mingw\include\opencv2\core\base.hpp:56,
  850. from c:\mingw\include\opencv2\core.hpp:54,
  851. from c:\mingw\include\opencv2\opencv.hpp:46,
  852. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  853. c:\mingw\include\_mingw_stat64.h:43:5: error: 'time_t' does not name a type
  854. time_t st_atime;
  855. ^~~~~~
  856. c:\mingw\include\_mingw_stat64.h:44:5: error: 'time_t' does not name a type
  857. time_t st_mtime;
  858. ^~~~~~
  859. c:\mingw\include\_mingw_stat64.h:45:5: error: 'time_t' does not name a type
  860. time_t st_ctime;
  861. ^~~~~~
  862. c:\mingw\include\_mingw_stat64.h:57:5: error: '__MINGW_EXTENSION' does not name a type
  863. __MINGW_EXTENSION __int64 st_size;
  864. ^~~~~~~~~~~~~~~~~
  865. c:\mingw\include\_mingw_stat64.h:72:5: error: '__time64_t' does not name a type
  866. __time64_t st_atime;
  867. ^~~~~~~~~~
  868. c:\mingw\include\_mingw_stat64.h:73:5: error: '__time64_t' does not name a type
  869. __time64_t st_mtime;
  870. ^~~~~~~~~~
  871. c:\mingw\include\_mingw_stat64.h:74:5: error: '__time64_t' does not name a type
  872. __time64_t st_ctime;
  873. ^~~~~~~~~~
  874. c:\mingw\include\_mingw_stat64.h:85:5: error: '__MINGW_EXTENSION' does not name a type
  875. __MINGW_EXTENSION __int64 st_size;
  876. ^~~~~~~~~~~~~~~~~
  877. c:\mingw\include\_mingw_stat64.h:86:5: error: '__time64_t' does not name a type
  878. __time64_t st_atime;
  879. ^~~~~~~~~~
  880. c:\mingw\include\_mingw_stat64.h:87:5: error: '__time64_t' does not name a type
  881. __time64_t st_mtime;
  882. ^~~~~~~~~~
  883. c:\mingw\include\_mingw_stat64.h:88:5: error: '__time64_t' does not name a type
  884. __time64_t st_ctime;
  885. ^~~~~~~~~~
  886. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  887. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  888. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  889. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  890. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  891. from c:\mingw\include\opencv2\core\base.hpp:56,
  892. from c:\mingw\include\opencv2\core.hpp:54,
  893. from c:\mingw\include\opencv2\opencv.hpp:46,
  894. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  895. c:\mingw\include\wchar.h:412:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  896. _CRTIMP wchar_t *_cgetws(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  897. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  898. c:\mingw\include\wchar.h:421:71: error: 'va_list' has not been declared
  899. _CRTIMP int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  900. ^~~~~~~
  901. c:\mingw\include\wchar.h:423:73: error: 'va_list' has not been declared
  902. _CRTIMP int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList);
  903. ^~~~~~~
  904. c:\mingw\include\wchar.h:426:91: error: 'va_list' has not been declared
  905. _CRTIMP int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  906. ^~~~~~~
  907. c:\mingw\include\wchar.h:428:93: error: 'va_list' has not been declared
  908. _CRTIMP int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  909. ^~~~~~~
  910. c:\mingw\include\wchar.h:441:103: error: 'va_list' has not been declared
  911. int __cdecl __mingw_vswscanf (const wchar_t * __restrict__ _Str,const wchar_t * __restrict__ Format,va_list argp);
  912. ^~~~~~~
  913. c:\mingw\include\wchar.h:445:68: error: 'va_list' has not been declared
  914. int __cdecl __mingw_vwscanf(const wchar_t * __restrict__ Format, va_list argp);
  915. ^~~~~~~
  916. c:\mingw\include\wchar.h:449:93: error: 'va_list' has not been declared
  917. int __cdecl __mingw_vfwscanf (FILE * __restrict__ fp, const wchar_t * __restrict__ Format,va_list argp);
  918. ^~~~~~~
  919. c:\mingw\include\wchar.h:457:96: error: 'va_list' has not been declared
  920. int __cdecl __mingw_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  921. ^~~~~~~
  922. c:\mingw\include\wchar.h:459:69: error: 'va_list' has not been declared
  923. int __cdecl __mingw_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  924. ^~~~~~~
  925. c:\mingw\include\wchar.h:463:99: error: 'va_list' has not been declared
  926. int __cdecl __mingw_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  927. ^~~~~~~
  928. c:\mingw\include\wchar.h:467:88: error: 'va_list' has not been declared
  929. int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list);
  930. ^~~~~~~
  931. c:\mingw\include\wchar.h:598:91: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  932. int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  933. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  934. c:\mingw\include\wchar.h:599:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  935. int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  936. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  937. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  938. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  939. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  940. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  941. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  942. from c:\mingw\include\opencv2\core\base.hpp:56,
  943. from c:\mingw\include\opencv2\core.hpp:54,
  944. from c:\mingw\include\opencv2\opencv.hpp:46,
  945. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  946. c:\mingw\include\wchar.h:600:64: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  947. int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  948. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  949. c:\mingw\include\wchar.h:602:60: error: 'va_list' has not been declared
  950. int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list);
  951. ^~~~~~~
  952. c:\mingw\include\wchar.h:603:81: error: 'va_list' has not been declared
  953. int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  954. ^~~~~~~
  955. c:\mingw\include\wchar.h:604:90: error: 'va_list' has not been declared
  956. int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  957. ^~~~~~~
  958. c:\mingw\include\wchar.h: In function 'int vfwscanf(FILE*, const wchar_t*, char*)':
  959. c:\mingw\include\wchar.h:610:59: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  960. return __ms_vfwscanf (__stream, __format, __local_argv);
  961. ^
  962. c:\mingw\include\wchar.h:603:15: note: initializing argument 3 of 'int __ms_vfwscanf(FILE*, const wchar_t*, int)'
  963. int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  964. ^~~~~~~~~~~~~
  965. c:\mingw\include\wchar.h: In function 'int vswscanf(const wchar_t*, const wchar_t*, char*)':
  966. c:\mingw\include\wchar.h:617:60: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  967. return __ms_vswscanf( __source, __format, __local_argv );
  968. ^
  969. c:\mingw\include\wchar.h:604:15: note: initializing argument 3 of 'int __ms_vswscanf(const wchar_t*, const wchar_t*, int)'
  970. int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  971. ^~~~~~~~~~~~~
  972. c:\mingw\include\wchar.h: In function 'int vwscanf(const wchar_t*, char*)':
  973. c:\mingw\include\wchar.h:623:48: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  974. return __ms_vwscanf (__format, __local_argv);
  975. ^
  976. c:\mingw\include\wchar.h:602:15: note: initializing argument 2 of 'int __ms_vwscanf(const wchar_t*, int)'
  977. int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list);
  978. ^~~~~~~~~~~~
  979. c:\mingw\include\wchar.h: At global scope:
  980. c:\mingw\include\wchar.h:630:88: error: 'va_list' has not been declared
  981. int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  982. ^~~~~~~
  983. c:\mingw\include\wchar.h:631:61: error: 'va_list' has not been declared
  984. int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  985. ^~~~~~~
  986. c:\mingw\include\wchar.h:656:53: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  987. _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  988. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  989. c:\mingw\include\wchar.h:659:140: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  990. _CRTIMP int __cdecl _swprintf_l(wchar_t * __restrict__ ,size_t _SizeInWords,const wchar_t * __restrict__ _Format,_locale_t _Locale,... ) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  991. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  992. c:\mingw\include\wchar.h:661:124: error: 'va_list' has not been declared
  993. _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList);
  994. ^~~~~~~
  995. c:\mingw\include\wchar.h:662:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  996. _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  997. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  998. c:\mingw\include\wchar.h:663:115: error: 'va_list' has not been declared
  999. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1000. ^~~~~~~
  1001. c:\mingw\include\wchar.h:663:130: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1002. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1003. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1004. c:\mingw\include\wchar.h:673:96: error: 'va_list' has not been declared
  1005. int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  1006. ^~~~~~~
  1007. c:\mingw\include\wchar.h: In function 'int snwprintf(wchar_t*, size_t, const wchar_t*, ...)':
  1008. c:\mingw\include\wchar.h:678:5: error: 'va_list' was not declared in this scope
  1009. va_list argp;
  1010. ^~~~~~~
  1011. c:\mingw\include\wchar.h:679:25: error: 'argp' was not declared in this scope
  1012. __builtin_va_start (argp, format);
  1013. ^~~~
  1014. c:\mingw\include\wchar.h:680:40: error: '_vsnwprintf' was not declared in this scope
  1015. r = _vsnwprintf (s, n, format, argp);
  1016. ^
  1017. c:\mingw\include\wchar.h: At global scope:
  1018. c:\mingw\include\wchar.h:685:100: error: 'va_list' has not been declared
  1019. int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg)
  1020. ^~~~~~~
  1021. c:\mingw\include\wchar.h: In function 'int vsnwprintf(wchar_t*, size_t, const wchar_t*, int)':
  1022. c:\mingw\include\wchar.h:687:38: error: '_vsnwprintf' was not declared in this scope
  1023. return _vsnwprintf(s,n,format,arg);
  1024. ^
  1025. c:\mingw\include\wchar.h: At global scope:
  1026. c:\mingw\include\wchar.h:697:99: error: 'va_list' has not been declared
  1027. _CRTIMP int __cdecl _vfwprintf_p(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  1028. ^~~~~~~
  1029. c:\mingw\include\wchar.h:698:72: error: 'va_list' has not been declared
  1030. _CRTIMP int __cdecl _vwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList);
  1031. ^~~~~~~
  1032. c:\mingw\include\wchar.h:700:121: error: 'va_list' has not been declared
  1033. _SECIMP int __cdecl _vswprintf_p(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,va_list _ArgList);
  1034. ^~~~~~~
  1035. c:\mingw\include\wchar.h:702:74: error: 'va_list' has not been declared
  1036. _SECIMP int __cdecl _vscwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList);
  1037. ^~~~~~~
  1038. c:\mingw\include\wchar.h:705:90: error: 'va_list' has not been declared
  1039. _CRTIMP int __cdecl _vwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1040. ^~~~~~~
  1041. c:\mingw\include\wchar.h:706:92: error: 'va_list' has not been declared
  1042. _CRTIMP int __cdecl _vwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1043. ^~~~~~~
  1044. c:\mingw\include\wchar.h:709:117: error: 'va_list' has not been declared
  1045. _CRTIMP int __cdecl _vfwprintf_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1046. ^~~~~~~
  1047. c:\mingw\include\wchar.h:710:119: error: 'va_list' has not been declared
  1048. _CRTIMP int __cdecl _vfwprintf_p_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1049. ^~~~~~~
  1050. c:\mingw\include\wchar.h:713:141: error: 'va_list' has not been declared
  1051. _CRTIMP int __cdecl _vswprintf_c_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1052. ^~~~~~~
  1053. c:\mingw\include\wchar.h:714:141: error: 'va_list' has not been declared
  1054. _CRTIMP int __cdecl _vswprintf_p_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1055. ^~~~~~~
  1056. c:\mingw\include\wchar.h:717:94: error: 'va_list' has not been declared
  1057. _CRTIMP int __cdecl _vscwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
  1058. ^~~~~~~
  1059. c:\mingw\include\wchar.h:719:140: error: 'va_list' has not been declared
  1060. _CRTIMP int __cdecl _vsnwprintf_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1061. ^~~~~~~
  1062. c:\mingw\include\wchar.h:719:158: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1063. _CRTIMP int __cdecl _vsnwprintf_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1064. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1065. c:\mingw\include\wchar.h:721:100: error: 'va_list' has not been declared
  1066. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  1067. ^~~~~~~
  1068. c:\mingw\include\wchar.h:722:127: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1069. _CRTIMP int __cdecl __swprintf_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,_locale_t _Plocinfo,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1070. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1071. c:\mingw\include\wchar.h:723:137: error: 'va_list' has not been declared
  1072. _CRTIMP int __cdecl _vswprintf_l(wchar_t * __restrict__ _Dest,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1073. ^~~~~~~
  1074. c:\mingw\include\wchar.h:723:155: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1075. _CRTIMP int __cdecl _vswprintf_l(wchar_t * __restrict__ _Dest,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1076. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1077. c:\mingw\include\wchar.h:724:123: error: 'va_list' has not been declared
  1078. _CRTIMP int __cdecl __vswprintf_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,_locale_t _Plocinfo,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1079. ^~~~~~~
  1080. c:\mingw\include\wchar.h:724:138: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1081. _CRTIMP int __cdecl __vswprintf_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,_locale_t _Plocinfo,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1082. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1083. In file included from c:\mingw\include\wchar.h:727:0,
  1084. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44,
  1085. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1086. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1087. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1088. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1089. from c:\mingw\include\opencv2\core\base.hpp:56,
  1090. from c:\mingw\include\opencv2\core.hpp:54,
  1091. from c:\mingw\include\opencv2\opencv.hpp:46,
  1092. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1093. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, size_t, const wchar_t*, char*)':
  1094. c:\mingw\include\swprintf.inl:25:64: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  1095. return vsnwprintf( __stream, __count, __format, __local_argv );
  1096. ^
  1097. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1098. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1099. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1100. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1101. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1102. from c:\mingw\include\opencv2\core\base.hpp:56,
  1103. from c:\mingw\include\opencv2\core.hpp:54,
  1104. from c:\mingw\include\opencv2\opencv.hpp:46,
  1105. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1106. c:\mingw\include\wchar.h:685:15: note: initializing argument 4 of 'int vsnwprintf(wchar_t*, size_t, const wchar_t*, int)'
  1107. int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg)
  1108. ^~~~~~~~~~
  1109. In file included from c:\mingw\include\wchar.h:727:0,
  1110. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44,
  1111. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1112. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1113. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1114. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1115. from c:\mingw\include\opencv2\core\base.hpp:56,
  1116. from c:\mingw\include\opencv2\core.hpp:54,
  1117. from c:\mingw\include\opencv2\opencv.hpp:46,
  1118. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1119. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, const wchar_t*, char*)':
  1120. c:\mingw\include\swprintf.inl:52:55: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  1121. return _vswprintf( __stream, __format, __local_argv );
  1122. ^
  1123. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1124. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1125. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1126. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1127. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1128. from c:\mingw\include\opencv2\core\base.hpp:56,
  1129. from c:\mingw\include\opencv2\core.hpp:54,
  1130. from c:\mingw\include\opencv2\opencv.hpp:46,
  1131. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1132. c:\mingw\include\wchar.h:721:23: note: initializing argument 3 of 'int _vswprintf(wchar_t*, const wchar_t*, int)'
  1133. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  1134. ^~~~~~~~~~
  1135. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1136. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1137. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1138. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1139. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1140. from c:\mingw\include\opencv2\core\base.hpp:56,
  1141. from c:\mingw\include\opencv2\core.hpp:54,
  1142. from c:\mingw\include\opencv2\opencv.hpp:46,
  1143. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1144. c:\mingw\include\wchar.h: At global scope:
  1145. c:\mingw\include\wchar.h:740:120: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1146. _CRTIMP int __cdecl _fwscanf_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1147. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1148. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1149. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1150. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1151. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1152. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1153. from c:\mingw\include\opencv2\core\base.hpp:56,
  1154. from c:\mingw\include\opencv2\core.hpp:54,
  1155. from c:\mingw\include\opencv2\opencv.hpp:46,
  1156. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1157. c:\mingw\include\wchar.h:741:128: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1158. _CRTIMP int __cdecl _swscanf_l(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1159. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1160. c:\mingw\include\wchar.h:744:93: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1161. _CRTIMP int __cdecl _wscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1162. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1163. c:\mingw\include\wchar.h:746:108: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1164. _CRTIMP FILE *__cdecl _wfopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1165. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1166. c:\mingw\include\wchar.h:747:139: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1167. _CRTIMP FILE *__cdecl _wfreopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode,FILE * __restrict__ _OldFile) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1168. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1169. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1170. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1171. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1172. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1173. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1174. from c:\mingw\include\opencv2\core\base.hpp:56,
  1175. from c:\mingw\include\opencv2\core.hpp:54,
  1176. from c:\mingw\include\opencv2\opencv.hpp:46,
  1177. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1178. c:\mingw\include\wchar.h: In function 'wint_t getwchar()':
  1179. c:\mingw\include\wchar.h:769:58: error: '__iob_func' was not declared in this scope
  1180. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  1181. ^
  1182. c:\mingw\include\wchar.h:769:58: error: '__MINGW_IMP_SYMBOL' cannot be used as a function
  1183. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  1184. ^
  1185. c:\mingw\include\wchar.h: In function 'wint_t putwchar(wchar_t)':
  1186. c:\mingw\include\wchar.h:770:71: error: '__iob_func' was not declared in this scope
  1187. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  1188. ^
  1189. c:\mingw\include\wchar.h:770:71: error: '__MINGW_IMP_SYMBOL' cannot be used as a function
  1190. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  1191. ^
  1192. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:44:0,
  1193. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40,
  1194. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1195. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1196. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1197. from c:\mingw\include\opencv2\core\base.hpp:56,
  1198. from c:\mingw\include\opencv2\core.hpp:54,
  1199. from c:\mingw\include\opencv2\opencv.hpp:46,
  1200. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1201. c:\mingw\include\wchar.h: At global scope:
  1202. c:\mingw\include\wchar.h:926:55: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1203. wchar_t *__cdecl _wctime32(const __time32_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1204. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1205. c:\mingw\include\wchar.h:930:56: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1206. _CRTIMP wchar_t *__cdecl _wstrdate(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1207. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1208. c:\mingw\include\wchar.h:932:56: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1209. _CRTIMP wchar_t *__cdecl _wstrtime(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1210. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1211. c:\mingw\include\wchar.h:934:44: error: '__time64_t' does not name a type
  1212. _CRTIMP wchar_t *__cdecl _wctime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1213. ^~~~~~~~~~
  1214. c:\mingw\include\wchar.h:934:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1215. _CRTIMP wchar_t *__cdecl _wctime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1216. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1217. c:\mingw\include\wchar.h:935:80: error: '__time64_t' does not name a type
  1218. _SECIMP errno_t __cdecl _wctime64_s (wchar_t *_Buf,size_t _SizeInWords,const __time64_t *_Time);
  1219. ^~~~~~~~~~
  1220. c:\mingw\include\wchar.h:939:34: error: 'time_t' does not name a type
  1221. wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1222. ^~~~~~
  1223. c:\mingw\include\wchar.h:939:49: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1224. wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1225. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1226. c:\mingw\include\wchar.h:942:47: error: 'time_t' does not name a type
  1227. __CRT_INLINE wchar_t *__cdecl _wctime(const time_t *_Time) { return _wctime64(_Time); }
  1228. ^~~~~~
  1229. c:\mingw\include\wchar.h: In function 'wchar_t* _wctime(const int*)':
  1230. c:\mingw\include\wchar.h:942:86: error: '_wctime64' was not declared in this scope
  1231. __CRT_INLINE wchar_t *__cdecl _wctime(const time_t *_Time) { return _wctime64(_Time); }
  1232. ^
  1233. c:\mingw\include\wchar.h: At global scope:
  1234. c:\mingw\include\wchar.h:951:54: error: 'time_t' does not name a type
  1235. errno_t __cdecl _wctime_s(wchar_t *, size_t, const time_t *);
  1236. ^~~~~~
  1237. c:\mingw\include\wchar.h:954:86: error: 'time_t' does not name a type
  1238. __CRT_INLINE errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) { return _wctime64_s (_Buffer,_SizeInWords,_Time); }
  1239. ^~~~~~
  1240. c:\mingw\include\wchar.h:969:137: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1241. size_t __cdecl mbsrtowcs(wchar_t * __restrict__ _Dest,const char ** __restrict__ _PSrc,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1242. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1243. c:\mingw\include\wchar.h:970:101: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1244. size_t __cdecl wcrtomb(char * __restrict__ _Dest,wchar_t _Source,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1245. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1246. c:\mingw\include\wchar.h:971:140: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1247. size_t __cdecl wcsrtombs(char * __restrict__ _Dest,const wchar_t ** __restrict__ _PSource,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1248. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1249. c:\mingw\include\wchar.h:978:96: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1250. wchar_t *__cdecl wmemcpy(wchar_t * __restrict__ s1,const wchar_t * __restrict__ s2,size_t n) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1251. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1252. c:\mingw\include\wchar.h:980:71: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1253. wchar_t *__cdecl wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1254. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1255. c:\mingw\include\wchar.h:983:3: error: '__MINGW_EXTENSION' does not name a type
  1256. __MINGW_EXTENSION long long __cdecl wcstoll(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base);
  1257. ^~~~~~~~~~~~~~~~~
  1258. c:\mingw\include\wchar.h:984:3: error: '__MINGW_EXTENSION' does not name a type
  1259. __MINGW_EXTENSION unsigned long long __cdecl wcstoull(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base);
  1260. ^~~~~~~~~~~~~~~~~
  1261. c:\mingw\include\wchar.h:988:98: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1262. void *__cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1263. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1264. c:\mingw\include\wchar.h: In function 'wchar_t* wmemcpy(wchar_t*, const wchar_t*, size_t)':
  1265. c:\mingw\include\wchar.h:1012:58: error: 'memcpy' was not declared in this scope
  1266. return (wchar_t *) memcpy (_S1,_S2,_N*sizeof(wchar_t));
  1267. ^
  1268. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\postypes.h:40:0,
  1269. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\char_traits.h:40,
  1270. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:40,
  1271. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1272. from c:\mingw\include\opencv2\core\base.hpp:56,
  1273. from c:\mingw\include\opencv2\core.hpp:54,
  1274. from c:\mingw\include\opencv2\opencv.hpp:46,
  1275. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1276. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: At global scope:
  1277. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:148:11: error: '::fwscanf' has not been declared
  1278. using ::fwscanf;
  1279. ^~~~~~~
  1280. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:154:11: error: '::mbsrtowcs' has not been declared
  1281. using ::mbsrtowcs;
  1282. ^~~~~~~~~
  1283. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:160:11: error: '::swscanf' has not been declared
  1284. using ::swscanf;
  1285. ^~~~~~~
  1286. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:176:11: error: '::wcrtomb' has not been declared
  1287. using ::wcrtomb;
  1288. ^~~~~~~
  1289. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:177:11: error: '::wcscat' has not been declared
  1290. using ::wcscat;
  1291. ^~~~~~
  1292. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:180:11: error: '::wcscpy' has not been declared
  1293. using ::wcscpy;
  1294. ^~~~~~
  1295. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:184:11: error: '::wcsncat' has not been declared
  1296. using ::wcsncat;
  1297. ^~~~~~~
  1298. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:186:11: error: '::wcsncpy' has not been declared
  1299. using ::wcsncpy;
  1300. ^~~~~~~
  1301. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:187:11: error: '::wcsrtombs' has not been declared
  1302. using ::wcsrtombs;
  1303. ^~~~~~~~~
  1304. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:193:11: error: '::wcstok' has not been declared
  1305. using ::wcstok;
  1306. ^~~~~~
  1307. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:203:11: error: '::wscanf' has not been declared
  1308. using ::wscanf;
  1309. ^~~~~~
  1310. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:204:11: error: '::wcschr' has not been declared
  1311. using ::wcschr;
  1312. ^~~~~~
  1313. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:205:11: error: '::wcspbrk' has not been declared
  1314. using ::wcspbrk;
  1315. ^~~~~~~
  1316. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:206:11: error: '::wcsrchr' has not been declared
  1317. using ::wcsrchr;
  1318. ^~~~~~~
  1319. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:207:11: error: '::wcsstr' has not been declared
  1320. using ::wcsstr;
  1321. ^~~~~~
  1322. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: In function 'wchar_t* std::wcschr(wchar_t*, wchar_t)':
  1323. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:213:19: error: invalid conversion from 'const wchar_t*' to 'wchar_t*' [-fpermissive]
  1324. { return wcschr(const_cast<const wchar_t*>(__p), __c); }
  1325. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1326. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:212:3: note: initializing argument 1 of 'wchar_t* std::wcschr(wchar_t*, wchar_t)'
  1327. wcschr(wchar_t* __p, wchar_t __c)
  1328. ^~~~~~
  1329. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: In function 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)':
  1330. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:217:20: error: invalid conversion from 'const wchar_t*' to 'wchar_t*' [-fpermissive]
  1331. { return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
  1332. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1333. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:216:3: note: initializing argument 1 of 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)'
  1334. wcspbrk(wchar_t* __s1, const wchar_t* __s2)
  1335. ^~~~~~~
  1336. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: In function 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)':
  1337. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:221:20: error: invalid conversion from 'const wchar_t*' to 'wchar_t*' [-fpermissive]
  1338. { return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
  1339. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1340. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:220:3: note: initializing argument 1 of 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)'
  1341. wcsrchr(wchar_t* __p, wchar_t __c)
  1342. ^~~~~~~
  1343. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: In function 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)':
  1344. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:225:19: error: invalid conversion from 'const wchar_t*' to 'wchar_t*' [-fpermissive]
  1345. { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
  1346. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1347. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:224:3: note: initializing argument 1 of 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)'
  1348. wcsstr(wchar_t* __s1, const wchar_t* __s2)
  1349. ^~~~~~
  1350. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar: At global scope:
  1351. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:257:11: error: '::wcstoll' has not been declared
  1352. using ::wcstoll;
  1353. ^~~~~~~
  1354. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:258:11: error: '::wcstoull' has not been declared
  1355. using ::wcstoull;
  1356. ^~~~~~~~
  1357. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:265:22: error: '__gnu_cxx::wcstoll' has not been declared
  1358. using ::__gnu_cxx::wcstoll;
  1359. ^~~~~~~
  1360. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:266:22: error: '__gnu_cxx::wcstoull' has not been declared
  1361. using ::__gnu_cxx::wcstoull;
  1362. ^~~~~~~~
  1363. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:294:14: error: 'std::wcstoll' has not been declared
  1364. using std::wcstoll;
  1365. ^~~~~~~
  1366. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cwchar:295:14: error: 'std::wcstoull' has not been declared
  1367. using std::wcstoull;
  1368. ^~~~~~~~
  1369. In file included from c:\mingw\include\locale.h:12:0,
  1370. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\clocale:42,
  1371. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\mingw32\bits\c++locale.h:41,
  1372. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\localefwd.h:40,
  1373. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:43,
  1374. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1375. from c:\mingw\include\opencv2\core\base.hpp:56,
  1376. from c:\mingw\include\opencv2\core.hpp:54,
  1377. from c:\mingw\include\opencv2\opencv.hpp:46,
  1378. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1379. c:\mingw\include\stdio.h:91:34: error: expected ')' before '(' token
  1380. extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */
  1381. ^
  1382. c:\mingw\include\stdio.h:103:3: error: '__MINGW_EXTENSION' does not name a type
  1383. __MINGW_EXTENSION typedef __int64 fpos_t;
  1384. ^~~~~~~~~~~~~~~~~
  1385. c:\mingw\include\stdio.h:391:88: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1386. int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1387. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1388. c:\mingw\include\stdio.h:398:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1389. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1390. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1391. In file included from c:\mingw\include\locale.h:12:0,
  1392. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\clocale:42,
  1393. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\mingw32\bits\c++locale.h:41,
  1394. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\localefwd.h:40,
  1395. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:43,
  1396. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1397. from c:\mingw\include\opencv2\core\base.hpp:56,
  1398. from c:\mingw\include\opencv2\core.hpp:54,
  1399. from c:\mingw\include\opencv2\opencv.hpp:46,
  1400. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1401. c:\mingw\include\stdio.h:401:87: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1402. int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1403. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1404. c:\mingw\include\stdio.h:403:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1405. int __cdecl scanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1406. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1407. c:\mingw\include\stdio.h:405:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1408. int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1409. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1410. c:\mingw\include\stdio.h:470:50: error: 'fpos_t' has not been declared
  1411. int __cdecl fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* 64bit only, no 32bit version */
  1412. ^~~~~~
  1413. c:\mingw\include\stdio.h:471:52: error: 'fpos_t' has not been declared
  1414. int __cdecl fgetpos64(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* fgetpos already 64bit */
  1415. ^~~~~~
  1416. c:\mingw\include\stdio.h:479:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1417. FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1418. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1419. c:\mingw\include\stdio.h:485:120: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1420. FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1421. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1422. c:\mingw\include\stdio.h:486:41: error: 'fpos_t' does not name a type
  1423. int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos);
  1424. ^~~~~~
  1425. c:\mingw\include\stdio.h:487:43: error: 'fpos_t' does not name a type
  1426. int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */
  1427. ^~~~~~
  1428. c:\mingw\include\stdio.h:492:30: error: '_off64_t' has not been declared
  1429. int fseeko64(FILE* stream, _off64_t offset, int whence);
  1430. ^~~~~~~~
  1431. c:\mingw\include\stdio.h:505:3: error: '_off64_t' does not name a type
  1432. _off64_t ftello64(FILE * stream);
  1433. ^~~~~~~~
  1434. c:\mingw\include\stdio.h:514:3: error: '__MINGW_EXTENSION' does not name a type
  1435. __MINGW_EXTENSION int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin);
  1436. ^~~~~~~~~~~~~~~~~
  1437. c:\mingw\include\stdio.h:515:3: error: '__MINGW_EXTENSION' does not name a type
  1438. __MINGW_EXTENSION __int64 __cdecl _ftelli64(FILE *_File);
  1439. ^~~~~~~~~~~~~~~~~
  1440. c:\mingw\include\stdio.h:520:37: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1441. char *__cdecl gets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1442. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1443. c:\mingw\include\stdio.h:542:45: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1444. int __cdecl unlink(const char *_Filename) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1445. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1446. c:\mingw\include\stdio.h:547:78: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1447. void __cdecl setbuf(FILE * __restrict__ _File,char * __restrict__ _Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1448. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1449. c:\mingw\include\stdio.h:553:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1450. _CRTIMP int __cdecl _snscanf(const char * __restrict__ _Src,size_t _MaxCount,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1451. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1452. c:\mingw\include\stdio.h:554:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1453. FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1454. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1455. c:\mingw\include\stdio.h:559:112: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1456. _CRTIMP int __cdecl _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1457. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1458. c:\mingw\include\stdio.h:561:123: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1459. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1460. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1461. c:\mingw\include\stdio.h:578:5: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1462. __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1463. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1464. c:\mingw\include\stdio.h: In function 'int vsnprintf(char*, size_t, const char*, va_list)':
  1465. c:\mingw\include\stdio.h:584:65: error: '__ms_vsnprintf' was not declared in this scope
  1466. return __ms_vsnprintf (__stream, __n, __format, __local_argv);
  1467. ^
  1468. c:\mingw\include\stdio.h: In function 'int snprintf(char*, size_t, const char*, ...)':
  1469. c:\mingw\include\stdio.h:597:67: error: '__ms_vsnprintf' was not declared in this scope
  1470. __retval = __ms_vsnprintf (__stream, __n, __format, __local_argv);
  1471. ^
  1472. c:\mingw\include\stdio.h: At global scope:
  1473. c:\mingw\include\stdio.h:934:3: error: '__MINGW_EXTENSION' does not name a type
  1474. __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock(FILE *_File,__int64 _Offset,int _Origin);
  1475. ^~~~~~~~~~~~~~~~~
  1476. c:\mingw\include\stdio.h:935:3: error: '__MINGW_EXTENSION' does not name a type
  1477. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64_nolock(FILE *_File);
  1478. ^~~~~~~~~~~~~~~~~
  1479. c:\mingw\include\stdio.h:943:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1480. char *__cdecl tempnam(const char *_Directory,const char *_FilePrefix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1481. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1482. c:\mingw\include\stdio.h:944:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1483. int __cdecl fcloseall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1484. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1485. c:\mingw\include\stdio.h:945:61: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1486. FILE *__cdecl fdopen(int _FileHandle,const char *_Format) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1487. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1488. c:\mingw\include\stdio.h:946:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1489. int __cdecl fgetchar(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1490. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1491. c:\mingw\include\stdio.h:947:35: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1492. int __cdecl fileno(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1493. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1494. c:\mingw\include\stdio.h:948:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1495. int __cdecl flushall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1496. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1497. c:\mingw\include\stdio.h:949:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1498. int __cdecl fputchar(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1499. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1500. c:\mingw\include\stdio.h:950:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1501. int __cdecl getw(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1502. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1503. c:\mingw\include\stdio.h:951:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1504. int __cdecl putw(int _Ch,FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1505. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1506. c:\mingw\include\stdio.h:952:27: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1507. int __cdecl rmtmp(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1508. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1509. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\ext\string_conversions.h:43:0,
  1510. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h:5402,
  1511. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:52,
  1512. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1513. from c:\mingw\include\opencv2\core\base.hpp:56,
  1514. from c:\mingw\include\opencv2\core.hpp:54,
  1515. from c:\mingw\include\opencv2\opencv.hpp:46,
  1516. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1517. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:99:11: error: '::fpos_t' has not been declared
  1518. using ::fpos_t;
  1519. ^~~~~~
  1520. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:109:11: error: '::fopen' has not been declared
  1521. using ::fopen;
  1522. ^~~~~
  1523. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:114:11: error: '::freopen' has not been declared
  1524. using ::freopen;
  1525. ^~~~~~~
  1526. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:115:11: error: '::fscanf' has not been declared
  1527. using ::fscanf;
  1528. ^~~~~~
  1529. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:134:11: error: '::scanf' has not been declared
  1530. using ::scanf;
  1531. ^~~~~
  1532. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:135:11: error: '::setbuf' has not been declared
  1533. using ::setbuf;
  1534. ^~~~~~
  1535. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:137:11: error: '::sprintf' has not been declared
  1536. using ::sprintf;
  1537. ^~~~~~~
  1538. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:138:11: error: '::sscanf' has not been declared
  1539. using ::sscanf;
  1540. ^~~~~~
  1541. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:139:11: error: '::tmpfile' has not been declared
  1542. using ::tmpfile;
  1543. ^~~~~~~
  1544. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdio:146:11: error: '::vsprintf' has not been declared
  1545. using ::vsprintf;
  1546. ^~~~~~~~
  1547. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:52:0,
  1548. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1549. from c:\mingw\include\opencv2\core\base.hpp:56,
  1550. from c:\mingw\include\opencv2\core.hpp:54,
  1551. from c:\mingw\include\opencv2\opencv.hpp:46,
  1552. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1553. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
  1554. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h:5428:31: error: 'strtoll' is not a member of 'std'
  1555. { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
  1556. ^~~
  1557. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)':
  1558. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h:5433:31: error: 'strtoull' is not a member of 'std'
  1559. { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
  1560. ^~~
  1561. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h: In function 'long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)':
  1562. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h:5534:31: error: 'wcstoll' is not a member of 'std'
  1563. { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
  1564. ^~~
  1565. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)':
  1566. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\basic_string.h:5539:31: error: 'wcstoull' is not a member of 'std'
  1567. { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
  1568. ^~~
  1569. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:45:0,
  1570. from c:\mingw\include\opencv2\core\cvstd.hpp:66,
  1571. from c:\mingw\include\opencv2\core\base.hpp:56,
  1572. from c:\mingw\include\opencv2\core.hpp:54,
  1573. from c:\mingw\include\opencv2\opencv.hpp:46,
  1574. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1575. c:\mingw\include\math.h: At global scope:
  1576. c:\mingw\include\math.h:122:5: error: '__C89_NAMELESS' does not name a type
  1577. __C89_NAMELESS struct {
  1578. ^~~~~~~~~~~~~~
  1579. c:\mingw\include\math.h:124:7: error: 'lh' does not name a type
  1580. } lh;
  1581. ^~
  1582. c:\mingw\include\math.h:135:5: error: '__C89_NAMELESS' does not name a type
  1583. __C89_NAMELESS struct {
  1584. ^~~~~~~~~~~~~~
  1585. c:\mingw\include\math.h:140:7: error: 'lh' does not name a type
  1586. } lh;
  1587. ^~
  1588. c:\mingw\include\math.h:156:43: error: conflicting declaration 'double* __MINGW_IMP_SYMBOL'
  1589. extern double * __MINGW_IMP_SYMBOL(_HUGE);
  1590. ^
  1591. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cstdlib:75:0,
  1592. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algo.h:59,
  1593. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\algorithm:62,
  1594. from c:\mingw\include\opencv2\core\base.hpp:53,
  1595. from c:\mingw\include\opencv2\core.hpp:54,
  1596. from c:\mingw\include\opencv2\opencv.hpp:46,
  1597. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1598. c:\mingw\include\stdlib.h:114:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL'
  1599. extern int * __MINGW_IMP_SYMBOL(__mb_cur_max);
  1600. ^~~~~~~~~~~~~~~~~~
  1601. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:45:0,
  1602. from c:\mingw\include\opencv2\core\cvstd.hpp:66,
  1603. from c:\mingw\include\opencv2\core\base.hpp:56,
  1604. from c:\mingw\include\opencv2\core.hpp:54,
  1605. from c:\mingw\include\opencv2\opencv.hpp:46,
  1606. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1607. c:\mingw\include\math.h:156:38: error: '_HUGE' was not declared in this scope
  1608. extern double * __MINGW_IMP_SYMBOL(_HUGE);
  1609. ^~~~~
  1610. c:\mingw\include\math.h:311:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1611. _CRTIMP double __cdecl j0 (double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1612. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1613. c:\mingw\include\math.h:312:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1614. _CRTIMP double __cdecl j1 (double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1615. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1616. c:\mingw\include\math.h:313:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1617. _CRTIMP double __cdecl jn (int, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1618. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1619. c:\mingw\include\math.h:314:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1620. _CRTIMP double __cdecl y0 (double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1621. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1622. c:\mingw\include\math.h:315:36: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1623. _CRTIMP double __cdecl y1 (double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1624. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1625. c:\mingw\include\math.h:316:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1626. _CRTIMP double __cdecl yn (int, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  1627. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1628. c:\mingw\include\math.h:882:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  1629. extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */
  1630. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1631. c:\mingw\include\math.h: In function 'float hypotf(float, float)':
  1632. c:\mingw\include\math.h:885:100: error: 'hypot' was not declared in this scope
  1633. __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);}
  1634. ^
  1635. c:\mingw\include\math.h: At global scope:
  1636. c:\mingw\include\math.h:946:1: error: '__MINGW_EXTENSION' does not name a type
  1637. __MINGW_EXTENSION long long __cdecl llrint (double);
  1638. ^~~~~~~~~~~~~~~~~
  1639. c:\mingw\include\math.h:947:1: error: '__MINGW_EXTENSION' does not name a type
  1640. __MINGW_EXTENSION long long __cdecl llrintf (float);
  1641. ^~~~~~~~~~~~~~~~~
  1642. c:\mingw\include\math.h:948:1: error: '__MINGW_EXTENSION' does not name a type
  1643. __MINGW_EXTENSION long long __cdecl llrintl (long double);
  1644. ^~~~~~~~~~~~~~~~~
  1645. c:\mingw\include\math.h:1038:3: error: '__MINGW_EXTENSION' does not name a type
  1646. __MINGW_EXTENSION long long __cdecl llround (double);
  1647. ^~~~~~~~~~~~~~~~~
  1648. c:\mingw\include\math.h:1039:3: error: '__MINGW_EXTENSION' does not name a type
  1649. __MINGW_EXTENSION long long __cdecl llroundf (float);
  1650. ^~~~~~~~~~~~~~~~~
  1651. c:\mingw\include\math.h:1040:3: error: '__MINGW_EXTENSION' does not name a type
  1652. __MINGW_EXTENSION long long __cdecl llroundl (long double);
  1653. ^~~~~~~~~~~~~~~~~
  1654. c:\mingw\include\math.h: In function 'double copysign(double, double)':
  1655. c:\mingw\include\math.h:1073:8: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh'
  1656. hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000);
  1657. ^~
  1658. c:\mingw\include\math.h:1073:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh'
  1659. hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000);
  1660. ^~
  1661. c:\mingw\include\math.h:1073:50: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh'
  1662. hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000);
  1663. ^~
  1664. In file included from c:\mingw\include\opencv2\core\cvstd.hpp:66:0,
  1665. from c:\mingw\include\opencv2\core\base.hpp:56,
  1666. from c:\mingw\include\opencv2\core.hpp:54,
  1667. from c:\mingw\include\opencv2\opencv.hpp:46,
  1668. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1669. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath: At global scope:
  1670. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared
  1671. using ::hypot;
  1672. ^~~~~
  1673. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1169:11: error: '::llrint' has not been declared
  1674. using ::llrint;
  1675. ^~~~~~
  1676. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1170:11: error: '::llrintf' has not been declared
  1677. using ::llrintf;
  1678. ^~~~~~~
  1679. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1171:11: error: '::llrintl' has not been declared
  1680. using ::llrintl;
  1681. ^~~~~~~
  1682. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1173:11: error: '::llround' has not been declared
  1683. using ::llround;
  1684. ^~~~~~~
  1685. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1174:11: error: '::llroundf' has not been declared
  1686. using ::llroundf;
  1687. ^~~~~~~~
  1688. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cmath:1175:11: error: '::llroundl' has not been declared
  1689. using ::llroundl;
  1690. ^~~~~~~~
  1691. In file included from c:\mingw\include\opencv2\core\base.hpp:56:0,
  1692. from c:\mingw\include\opencv2\core.hpp:54,
  1693. from c:\mingw\include\opencv2\opencv.hpp:46,
  1694. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1695. c:\mingw\include\opencv2\core\cvstd.hpp:85:19: error: 'uint64' does not name a type
  1696. static inline uint64 abs(uint64 a) { return a; }
  1697. ^~~~~~
  1698. In file included from c:\mingw\include\opencv2\core\base.hpp:56:0,
  1699. from c:\mingw\include\opencv2\core.hpp:54,
  1700. from c:\mingw\include\opencv2\opencv.hpp:46,
  1701. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1702. c:\mingw\include\opencv2\core\cvstd.hpp: In constructor 'cv::String::String(const cv::String&, size_t, size_t)':
  1703. c:\mingw\include\opencv2\core\cvstd.hpp:616:47: error: 'memcpy' was not declared in this scope
  1704. memcpy(allocate(len), str.cstr_ + pos, len);
  1705. ^
  1706. c:\mingw\include\opencv2\core\cvstd.hpp: In constructor 'cv::String::String(const char*)':
  1707. c:\mingw\include\opencv2\core\cvstd.hpp:625:33: error: 'memcpy' was not declared in this scope
  1708. memcpy(allocate(len), s, len);
  1709. ^
  1710. c:\mingw\include\opencv2\core\cvstd.hpp: In constructor 'cv::String::String(const char*, size_t)':
  1711. c:\mingw\include\opencv2\core\cvstd.hpp:633:29: error: 'memcpy' was not declared in this scope
  1712. memcpy(allocate(n), s, n);
  1713. ^
  1714. c:\mingw\include\opencv2\core\cvstd.hpp: In constructor 'cv::String::String(const char*, const char*)':
  1715. c:\mingw\include\opencv2\core\cvstd.hpp:648:37: error: 'memcpy' was not declared in this scope
  1716. memcpy(allocate(len), first, len);
  1717. ^
  1718. c:\mingw\include\opencv2\core\cvstd.hpp: In member function 'cv::String& cv::String::operator=(const char*)':
  1719. c:\mingw\include\opencv2\core\cvstd.hpp:688:33: error: 'memcpy' was not declared in this scope
  1720. memcpy(allocate(len), s, len);
  1721. ^
  1722. c:\mingw\include\opencv2\core\cvstd.hpp: In function 'cv::String cv::operator+(const cv::String&, const cv::String&)':
  1723. c:\mingw\include\opencv2\core\cvstd.hpp:981:40: error: 'memcpy' was not declared in this scope
  1724. memcpy(s.cstr_, lhs.cstr_, lhs.len_);
  1725. ^
  1726. c:\mingw\include\opencv2\core\cvstd.hpp: In function 'cv::String cv::operator+(const cv::String&, const char*)':
  1727. c:\mingw\include\opencv2\core\cvstd.hpp:992:40: error: 'memcpy' was not declared in this scope
  1728. memcpy(s.cstr_, lhs.cstr_, lhs.len_);
  1729. ^
  1730. c:\mingw\include\opencv2\core\cvstd.hpp: In function 'cv::String cv::operator+(const char*, const cv::String&)':
  1731. c:\mingw\include\opencv2\core\cvstd.hpp:1003:32: error: 'memcpy' was not declared in this scope
  1732. memcpy(s.cstr_, lhs, lhslen);
  1733. ^
  1734. c:\mingw\include\opencv2\core\cvstd.hpp: In function 'cv::String cv::operator+(const cv::String&, char)':
  1735. c:\mingw\include\opencv2\core\cvstd.hpp:1013:40: error: 'memcpy' was not declared in this scope
  1736. memcpy(s.cstr_, lhs.cstr_, lhs.len_);
  1737. ^
  1738. c:\mingw\include\opencv2\core\cvstd.hpp: In function 'cv::String cv::operator+(char, const cv::String&)':
  1739. c:\mingw\include\opencv2\core\cvstd.hpp:1024:44: error: 'memcpy' was not declared in this scope
  1740. memcpy(s.cstr_ + 1, rhs.cstr_, rhs.len_);
  1741. ^
  1742. In file included from c:\mingw\include\opencv2\core\saturate.hpp:49:0,
  1743. from c:\mingw\include\opencv2\core\matx.hpp:54,
  1744. from c:\mingw\include\opencv2\core.hpp:57,
  1745. from c:\mingw\include\opencv2\opencv.hpp:46,
  1746. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1747. c:\mingw\include\opencv2\core\fast_math.hpp: In function 'int cvIsNaN(double)':
  1748. c:\mingw\include\opencv2\core\fast_math.hpp:179:32: error: 'Cv64suf {aka union Cv64suf}' has no member named 'u'
  1749. return ((unsigned)(ieee754.u >> 32) & 0x7fffffff) +
  1750. ^
  1751. c:\mingw\include\opencv2\core\fast_math.hpp:180:31: error: 'Cv64suf {aka union Cv64suf}' has no member named 'u'
  1752. ((unsigned)ieee754.u != 0) > 0x7ff00000;
  1753. ^
  1754. c:\mingw\include\opencv2\core\fast_math.hpp: In function 'int cvIsInf(double)':
  1755. c:\mingw\include\opencv2\core\fast_math.hpp:193:32: error: 'Cv64suf {aka union Cv64suf}' has no member named 'u'
  1756. return ((unsigned)(ieee754.u >> 32) & 0x7fffffff) == 0x7ff00000 &&
  1757. ^
  1758. c:\mingw\include\opencv2\core\fast_math.hpp:194:31: error: 'Cv64suf {aka union Cv64suf}' has no member named 'u'
  1759. (unsigned)ieee754.u == 0;
  1760. ^
  1761. In file included from c:\mingw\include\opencv2\core\matx.hpp:54:0,
  1762. from c:\mingw\include\opencv2\core.hpp:57,
  1763. from c:\mingw\include\opencv2\opencv.hpp:46,
  1764. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1765. c:\mingw\include\opencv2\core\saturate.hpp: At global scope:
  1766. c:\mingw\include\opencv2\core\saturate.hpp:98:56: error: 'cv::saturate_cast' declared as an 'inline' variable
  1767. template<typename _Tp> static inline _Tp saturate_cast(int64 v) { return _Tp(v); }
  1768. ^~~~~
  1769. c:\mingw\include\opencv2\core\saturate.hpp:98:56: error: 'template<class _Tp> _Tp cv::saturate_cast' conflicts with a previous declaration
  1770. c:\mingw\include\opencv2\core\saturate.hpp:96:42: note: previous declaration 'namespace cv { }::saturate_cast'
  1771. template<typename _Tp> static inline _Tp saturate_cast(double v) { return _Tp(v); }
  1772. ^~~~~~~~~~~~~
  1773. c:\mingw\include\opencv2\core\saturate.hpp:98:56: error: 'int64' was not declared in this scope
  1774. template<typename _Tp> static inline _Tp saturate_cast(int64 v) { return _Tp(v); }
  1775. ^~~~~
  1776. c:\mingw\include\opencv2\core\saturate.hpp:98:68: error: expected ';' before '{' token
  1777. template<typename _Tp> static inline _Tp saturate_cast(int64 v) { return _Tp(v); }
  1778. ^
  1779. c:\mingw\include\opencv2\core\saturate.hpp:100:56: error: 'cv::saturate_cast' declared as an 'inline' variable
  1780. template<typename _Tp> static inline _Tp saturate_cast(uint64 v) { return _Tp(v); }
  1781. ^~~~~~
  1782. c:\mingw\include\opencv2\core\saturate.hpp:100:56: error: 'template<class _Tp> _Tp cv::saturate_cast' conflicts with a previous declaration
  1783. c:\mingw\include\opencv2\core\saturate.hpp:96:42: note: previous declaration 'namespace cv { }::saturate_cast'
  1784. template<typename _Tp> static inline _Tp saturate_cast(double v) { return _Tp(v); }
  1785. ^~~~~~~~~~~~~
  1786. c:\mingw\include\opencv2\core\saturate.hpp:100:56: error: 'uint64' was not declared in this scope
  1787. template<typename _Tp> static inline _Tp saturate_cast(uint64 v) { return _Tp(v); }
  1788. ^~~~~~
  1789. c:\mingw\include\opencv2\core\saturate.hpp:100:68: error: expected ';' before '{' token
  1790. template<typename _Tp> static inline _Tp saturate_cast(uint64 v) { return _Tp(v); }
  1791. ^
  1792. In file included from c:\mingw\include\opencv2\core\matx.hpp:54:0,
  1793. from c:\mingw\include\opencv2\core.hpp:57,
  1794. from c:\mingw\include\opencv2\opencv.hpp:46,
  1795. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1796. c:\mingw\include\opencv2\core\saturate.hpp:109:46: error: template-id 'saturate_cast<uchar>' used as a declarator
  1797. template<> inline uchar saturate_cast<uchar>(int64 v) { return (uchar)((uint64)v <= (uint64)UCHAR_MAX ? v : v > 0 ? UCHAR_MAX : 0); }
  1798. ^~~~~
  1799. c:\mingw\include\opencv2\core\saturate.hpp:109:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1800. c:\mingw\include\opencv2\core\saturate.hpp:109:46: error: 'int64' was not declared in this scope
  1801. c:\mingw\include\opencv2\core\saturate.hpp:109:62: error: expected ';' before '{' token
  1802. template<> inline uchar saturate_cast<uchar>(int64 v) { return (uchar)((uint64)v <= (uint64)UCHAR_MAX ? v : v > 0 ? UCHAR_MAX : 0); }
  1803. ^
  1804. c:\mingw\include\opencv2\core\saturate.hpp:110:46: error: template-id 'saturate_cast<uchar>' used as a declarator
  1805. template<> inline uchar saturate_cast<uchar>(uint64 v) { return (uchar)std::min(v, (uint64)UCHAR_MAX); }
  1806. ^~~~~~
  1807. c:\mingw\include\opencv2\core\saturate.hpp:110:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1808. c:\mingw\include\opencv2\core\saturate.hpp:110:46: error: 'uint64' was not declared in this scope
  1809. c:\mingw\include\opencv2\core\saturate.hpp:110:62: error: expected ';' before '{' token
  1810. template<> inline uchar saturate_cast<uchar>(uint64 v) { return (uchar)std::min(v, (uint64)UCHAR_MAX); }
  1811. ^
  1812. c:\mingw\include\opencv2\core\saturate.hpp:119:46: error: template-id 'saturate_cast<schar>' used as a declarator
  1813. template<> inline schar saturate_cast<schar>(int64 v) { return (schar)((uint64)((int64)v-SCHAR_MIN) <= (uint64)UCHAR_MAX ? v : v > 0 ? SCHAR_MAX : SCHAR_MIN); }
  1814. ^~~~~
  1815. c:\mingw\include\opencv2\core\saturate.hpp:119:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1816. c:\mingw\include\opencv2\core\saturate.hpp:119:46: error: 'int64' was not declared in this scope
  1817. c:\mingw\include\opencv2\core\saturate.hpp:119:62: error: expected ';' before '{' token
  1818. template<> inline schar saturate_cast<schar>(int64 v) { return (schar)((uint64)((int64)v-SCHAR_MIN) <= (uint64)UCHAR_MAX ? v : v > 0 ? SCHAR_MAX : SCHAR_MIN); }
  1819. ^
  1820. c:\mingw\include\opencv2\core\saturate.hpp:120:46: error: template-id 'saturate_cast<schar>' used as a declarator
  1821. template<> inline schar saturate_cast<schar>(uint64 v) { return (schar)std::min(v, (uint64)SCHAR_MAX); }
  1822. ^~~~~~
  1823. c:\mingw\include\opencv2\core\saturate.hpp:120:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1824. c:\mingw\include\opencv2\core\saturate.hpp:120:46: error: 'uint64' was not declared in this scope
  1825. c:\mingw\include\opencv2\core\saturate.hpp:120:62: error: expected ';' before '{' token
  1826. template<> inline schar saturate_cast<schar>(uint64 v) { return (schar)std::min(v, (uint64)SCHAR_MAX); }
  1827. ^
  1828. c:\mingw\include\opencv2\core\saturate.hpp:128:48: error: template-id 'saturate_cast<ushort>' used as a declarator
  1829. template<> inline ushort saturate_cast<ushort>(int64 v) { return (ushort)((uint64)v <= (uint64)USHRT_MAX ? v : v > 0 ? USHRT_MAX : 0); }
  1830. ^~~~~
  1831. c:\mingw\include\opencv2\core\saturate.hpp:128:48: error: 'cv::saturate_cast' declared as an 'inline' variable
  1832. c:\mingw\include\opencv2\core\saturate.hpp:128:48: error: 'int64' was not declared in this scope
  1833. c:\mingw\include\opencv2\core\saturate.hpp:128:62: error: expected ';' before '{' token
  1834. template<> inline ushort saturate_cast<ushort>(int64 v) { return (ushort)((uint64)v <= (uint64)USHRT_MAX ? v : v > 0 ? USHRT_MAX : 0); }
  1835. ^
  1836. c:\mingw\include\opencv2\core\saturate.hpp:129:48: error: template-id 'saturate_cast<ushort>' used as a declarator
  1837. template<> inline ushort saturate_cast<ushort>(uint64 v) { return (ushort)std::min(v, (uint64)USHRT_MAX); }
  1838. ^~~~~~
  1839. c:\mingw\include\opencv2\core\saturate.hpp:129:48: error: 'cv::saturate_cast' declared as an 'inline' variable
  1840. c:\mingw\include\opencv2\core\saturate.hpp:129:48: error: 'uint64' was not declared in this scope
  1841. c:\mingw\include\opencv2\core\saturate.hpp:129:62: error: expected ';' before '{' token
  1842. template<> inline ushort saturate_cast<ushort>(uint64 v) { return (ushort)std::min(v, (uint64)USHRT_MAX); }
  1843. ^
  1844. c:\mingw\include\opencv2\core\saturate.hpp:136:46: error: template-id 'saturate_cast<short int>' used as a declarator
  1845. template<> inline short saturate_cast<short>(int64 v) { return (short)((uint64)((int64)v - SHRT_MIN) <= (uint64)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
  1846. ^~~~~
  1847. c:\mingw\include\opencv2\core\saturate.hpp:136:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1848. c:\mingw\include\opencv2\core\saturate.hpp:136:46: error: 'int64' was not declared in this scope
  1849. c:\mingw\include\opencv2\core\saturate.hpp:136:62: error: expected ';' before '{' token
  1850. template<> inline short saturate_cast<short>(int64 v) { return (short)((uint64)((int64)v - SHRT_MIN) <= (uint64)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
  1851. ^
  1852. c:\mingw\include\opencv2\core\saturate.hpp:137:46: error: template-id 'saturate_cast<short int>' used as a declarator
  1853. template<> inline short saturate_cast<short>(uint64 v) { return (short)std::min(v, (uint64)SHRT_MAX); }
  1854. ^~~~~~
  1855. c:\mingw\include\opencv2\core\saturate.hpp:137:46: error: 'cv::saturate_cast' declared as an 'inline' variable
  1856. c:\mingw\include\opencv2\core\saturate.hpp:137:46: error: 'uint64' was not declared in this scope
  1857. c:\mingw\include\opencv2\core\saturate.hpp:137:62: error: expected ';' before '{' token
  1858. template<> inline short saturate_cast<short>(uint64 v) { return (short)std::min(v, (uint64)SHRT_MAX); }
  1859. ^
  1860. In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\float.h:273:0,
  1861. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\cfloat:42,
  1862. from c:\mingw\include\opencv2\core\types.hpp:52,
  1863. from c:\mingw\include\opencv2\core.hpp:58,
  1864. from c:\mingw\include\opencv2\opencv.hpp:46,
  1865. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1866. c:\mingw\include\float.h:253:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  1867. _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _controlfp (unsigned int unNew, unsigned int unMask) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  1868. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1869. In file included from c:\mingw\include\opencv2\opencv.hpp:46:0,
  1870. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1871. c:\mingw\include\opencv2\core.hpp:2662:16: error: expected ')' before 'state'
  1872. RNG(uint64 state);
  1873. ^~~~~
  1874. c:\mingw\include\opencv2\core.hpp:2790:5: error: 'uint64' does not name a type
  1875. uint64 state;
  1876. ^~~~~~
  1877. c:\mingw\include\opencv2\core.hpp:3143:29: error: 'uint64' was not declared in this scope
  1878. template<> struct ParamType<uint64>
  1879. ^~~~~~
  1880. c:\mingw\include\opencv2\core.hpp:3143:35: error: template argument 1 is invalid
  1881. template<> struct ParamType<uint64>
  1882. ^
  1883. In file included from c:\mingw\include\opencv2\core.hpp:3163:0,
  1884. from c:\mingw\include\opencv2\opencv.hpp:46,
  1885. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1886. c:\mingw\include\opencv2\core\operations.hpp: In constructor 'cv::RNG::RNG()':
  1887. c:\mingw\include\opencv2\core\operations.hpp:333:34: error: 'state' was not declared in this scope
  1888. inline RNG::RNG() { state = 0xffffffff; }
  1889. ^~~~~
  1890. c:\mingw\include\opencv2\core\operations.hpp: At global scope:
  1891. c:\mingw\include\opencv2\core\operations.hpp:334:17: error: 'cv::RNG::RNG' declared as an 'inline' variable
  1892. inline RNG::RNG(uint64 _state) { state = _state ? _state : 0xffffffff; }
  1893. ^~~~~~
  1894. c:\mingw\include\opencv2\core\operations.hpp:334:17: error: 'int cv::RNG::RNG' is not a static data member of 'class cv::RNG'
  1895. c:\mingw\include\opencv2\core\operations.hpp:334:17: error: 'uint64' was not declared in this scope
  1896. c:\mingw\include\opencv2\core\operations.hpp: In member function 'cv::RNG::operator double()':
  1897. c:\mingw\include\opencv2\core\operations.hpp:343:66: error: 'uint64' was not declared in this scope
  1898. inline RNG::operator double() { unsigned t = next(); return (((uint64)t << 32) | next()) * 5.4210108624275221700372640043497e-20; }
  1899. ^~~~~~
  1900. c:\mingw\include\opencv2\core\operations.hpp:343:73: error: expected ')' before 't'
  1901. inline RNG::operator double() { unsigned t = next(); return (((uint64)t << 32) | next()) * 5.4210108624275221700372640043497e-20; }
  1902. ^
  1903. In file included from c:\mingw\include\opencv2\core.hpp:3163:0,
  1904. from c:\mingw\include\opencv2\opencv.hpp:46,
  1905. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1906. c:\mingw\include\opencv2\core\operations.hpp:343:131: error: expected ')' before ';' token
  1907. inline RNG::operator double() { unsigned t = next(); return (((uint64)t << 32) | next()) * 5.4210108624275221700372640043497e-20; }
  1908. ^
  1909. c:\mingw\include\opencv2\core\operations.hpp: In member function 'unsigned int cv::RNG::next()':
  1910. c:\mingw\include\opencv2\core\operations.hpp:354:5: error: 'state' was not declared in this scope
  1911. state = (uint64)(unsigned)state* /*CV_RNG_COEFF*/ 4164903690U + (unsigned)(state >> 32);
  1912. ^~~~~
  1913. c:\mingw\include\opencv2\core\operations.hpp:354:14: error: 'uint64' was not declared in this scope
  1914. state = (uint64)(unsigned)state* /*CV_RNG_COEFF*/ 4164903690U + (unsigned)(state >> 32);
  1915. ^~~~~~
  1916. c:\mingw\include\opencv2\core\operations.hpp:354:22: error: expected primary-expression before 'unsigned'
  1917. state = (uint64)(unsigned)state* /*CV_RNG_COEFF*/ 4164903690U + (unsigned)(state >> 32);
  1918. ^~~~~~~~
  1919. In file included from c:\mingw\include\locale.h:12:0,
  1920. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\clocale:42,
  1921. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\mingw32\bits\c++locale.h:41,
  1922. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\localefwd.h:40,
  1923. from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\string:43,
  1924. from c:\mingw\include\opencv2\core\cvstd.hpp:58,
  1925. from c:\mingw\include\opencv2\core\base.hpp:56,
  1926. from c:\mingw\include\opencv2\core.hpp:54,
  1927. from c:\mingw\include\opencv2\opencv.hpp:46,
  1928. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1929. c:\mingw\include\opencv2\core\operations.hpp: At global scope:
  1930. c:\mingw\include\opencv2\core\operations.hpp:377:47: error: '__iob_func' was not declared in this scope
  1931. int print(Ptr<Formatted> fmtd, FILE* stream = stdout)
  1932. ^
  1933. c:\mingw\include\opencv2\core\operations.hpp:377:47: error: '__MINGW_IMP_SYMBOL' cannot be used as a function
  1934. int print(Ptr<Formatted> fmtd, FILE* stream = stdout)
  1935. ^
  1936. c:\mingw\include\opencv2\core\operations.hpp:388:42: error: '__iob_func' was not declared in this scope
  1937. int print(const Mat& mtx, FILE* stream = stdout)
  1938. ^
  1939. c:\mingw\include\opencv2\core\operations.hpp:388:42: error: '__MINGW_IMP_SYMBOL' cannot be used as a function
  1940. int print(const Mat& mtx, FILE* stream = stdout)
  1941. ^
  1942. c:\mingw\include\opencv2\core\operations.hpp:394:43: error: '__iob_func' was not declared in this scope
  1943. int print(const UMat& mtx, FILE* stream = stdout)
  1944. ^
  1945. c:\mingw\include\opencv2\core\operations.hpp:394:43: error: '__MINGW_IMP_SYMBOL' cannot be used as a function
  1946. int print(const UMat& mtx, FILE* stream = stdout)
  1947. ^
  1948. c:\mingw\include\opencv2\core\operations.hpp:400:64: error: there are no arguments to '__iob_func' that depend on a template parameter, so a declaration of '__iob_func' must be available [-fpermissive]
  1949. int print(const std::vector<Point_<_Tp> >& vec, FILE* stream = stdout)
  1950. ^
  1951. c:\mingw\include\opencv2\core\operations.hpp:400:64: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  1952. c:\mingw\include\opencv2\core\operations.hpp:406:65: error: there are no arguments to '__iob_func' that depend on a template parameter, so a declaration of '__iob_func' must be available [-fpermissive]
  1953. int print(const std::vector<Point3_<_Tp> >& vec, FILE* stream = stdout)
  1954. ^
  1955. c:\mingw\include\opencv2\core\operations.hpp:412:55: error: there are no arguments to '__iob_func' that depend on a template parameter, so a declaration of '__iob_func' must be available [-fpermissive]
  1956. int print(const Matx<_Tp, m, n>& matx, FILE* stream = stdout)
  1957. ^
  1958. In file included from c:\mingw\include\opencv2\core.hpp:3164:0,
  1959. from c:\mingw\include\opencv2\opencv.hpp:46,
  1960. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1961. c:\mingw\include\opencv2\core\cvstd.inl.hpp: In constructor 'cv::String::String(const string&)':
  1962. c:\mingw\include\opencv2\core\cvstd.inl.hpp:81:47: error: 'memcpy' was not declared in this scope
  1963. memcpy(allocate(len), str.c_str(), len);
  1964. ^
  1965. c:\mingw\include\opencv2\core\cvstd.inl.hpp: In constructor 'cv::String::String(const string&, size_t, size_t)':
  1966. c:\mingw\include\opencv2\core\cvstd.inl.hpp:93:49: error: 'memcpy' was not declared in this scope
  1967. memcpy(allocate(len), str.c_str() + pos, len);
  1968. ^
  1969. c:\mingw\include\opencv2\core\cvstd.inl.hpp: In member function 'cv::String& cv::String::operator=(const string&)':
  1970. c:\mingw\include\opencv2\core\cvstd.inl.hpp:103:47: error: 'memcpy' was not declared in this scope
  1971. memcpy(allocate(len), str.c_str(), len);
  1972. ^
  1973. c:\mingw\include\opencv2\core\cvstd.inl.hpp: In function 'cv::String cv::operator+(const cv::String&, const string&)':
  1974. c:\mingw\include\opencv2\core\cvstd.inl.hpp:127:40: error: 'memcpy' was not declared in this scope
  1975. memcpy(s.cstr_, lhs.cstr_, lhs.len_);
  1976. ^
  1977. c:\mingw\include\opencv2\core\cvstd.inl.hpp: In function 'cv::String cv::operator+(const string&, const cv::String&)':
  1978. c:\mingw\include\opencv2\core\cvstd.inl.hpp:138:40: error: 'memcpy' was not declared in this scope
  1979. memcpy(s.cstr_, lhs.c_str(), lhslen);
  1980. ^
  1981. In file included from c:\mingw\include\opencv2\core.hpp:3165:0,
  1982. from c:\mingw\include\opencv2\opencv.hpp:46,
  1983. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1984. c:\mingw\include\opencv2\core\utility.hpp: At global scope:
  1985. c:\mingw\include\opencv2\core\utility.hpp:252:14: error: 'int64' does not name a type
  1986. CV_EXPORTS_W int64 getTickCount();
  1987. ^~~~~
  1988. c:\mingw\include\opencv2\core\utility.hpp:278:14: error: 'int64' does not name a type
  1989. CV_EXPORTS_W int64 getCPUTickCount();
  1990. ^~~~~
  1991. In file included from c:\mingw\include\assert.h:17:0,
  1992. from c:\mingw\include\opencv2\core\types_c.h:62,
  1993. from c:\mingw\include\opencv2\core\core_c.h:48,
  1994. from c:\mingw\include\opencv2\core\utility.hpp:886,
  1995. from c:\mingw\include\opencv2\core.hpp:3165,
  1996. from c:\mingw\include\opencv2\opencv.hpp:46,
  1997. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  1998. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\stdlib.h:62:12: error: 'std::getenv' has not been declared
  1999. using std::getenv;
  2000. ^~~~~~
  2001. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\stdlib.h:80:12: error: 'std::wcstombs' has not been declared
  2002. using std::wcstombs;
  2003. ^~~~~~~~
  2004. c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\stdlib.h:81:12: error: 'std::wctomb' has not been declared
  2005. using std::wctomb;
  2006. ^~~~~~
  2007. In file included from c:\mingw\include\opencv2\core\core_c.h:48:0,
  2008. from c:\mingw\include\opencv2\core\utility.hpp:886,
  2009. from c:\mingw\include\opencv2\core.hpp:3165,
  2010. from c:\mingw\include\opencv2\opencv.hpp:46,
  2011. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  2012. c:\mingw\include\opencv2\core\types_c.h:203:9: error: 'uint64' does not name a type
  2013. typedef uint64 CvRNG;
  2014. ^~~~~~
  2015. c:\mingw\include\opencv2\core\types_c.h:215:11: error: 'CvRNG' does not name a type
  2016. CV_INLINE CvRNG cvRNG( int64 seed CV_DEFAULT(-1))
  2017. ^~~~~
  2018. c:\mingw\include\opencv2\core\types_c.h:228:31: error: 'cvRandInt' declared as an 'inline' variable
  2019. CV_INLINE unsigned cvRandInt( CvRNG* rng )
  2020. ^~~~~
  2021. c:\mingw\include\opencv2\core\types_c.h:228:31: error: 'CvRNG' was not declared in this scope
  2022. c:\mingw\include\opencv2\core\types_c.h:228:38: error: 'rng' was not declared in this scope
  2023. CV_INLINE unsigned cvRandInt( CvRNG* rng )
  2024. ^~~
  2025. c:\mingw\include\opencv2\core\types_c.h:242:30: error: 'cvRandReal' declared as an 'inline' variable
  2026. CV_INLINE double cvRandReal( CvRNG* rng )
  2027. ^~~~~
  2028. c:\mingw\include\opencv2\core\types_c.h:242:30: error: 'CvRNG' was not declared in this scope
  2029. c:\mingw\include\opencv2\core\types_c.h:242:37: error: 'rng' was not declared in this scope
  2030. CV_INLINE double cvRandReal( CvRNG* rng )
  2031. ^~~
  2032. c:\mingw\include\opencv2\core\types_c.h: In copy constructor 'CvMat::CvMat(const CvMat&)':
  2033. c:\mingw\include\opencv2\core\types_c.h:461:59: error: 'memcpy' was not declared in this scope
  2034. CvMat(const CvMat& m) { memcpy(this, &m, sizeof(CvMat));}
  2035. ^
  2036. In file included from c:\mingw\include\opencv2\core\utility.hpp:886:0,
  2037. from c:\mingw\include\opencv2\core.hpp:3165,
  2038. from c:\mingw\include\opencv2\opencv.hpp:46,
  2039. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  2040. c:\mingw\include\opencv2\core\core_c.h: At global scope:
  2041. c:\mingw\include\opencv2\core\core_c.h:1244:24: error: variable or field 'cvRandArr' declared void
  2042. CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
  2043. ^~~~~
  2044. c:\mingw\include\opencv2\core\core_c.h:1244:24: error: 'CvRNG' was not declared in this scope
  2045. c:\mingw\include\opencv2\core\core_c.h:1244:31: error: 'rng' was not declared in this scope
  2046. CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
  2047. ^~~
  2048. c:\mingw\include\opencv2\core\core_c.h:1244:41: error: expected primary-expression before '*' token
  2049. CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
  2050. ^
  2051. c:\mingw\include\opencv2\core\core_c.h:1244:43: error: 'arr' was not declared in this scope
  2052. CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
  2053. ^~~
  2054. c:\mingw\include\opencv2\core\core_c.h:1244:48: error: expected primary-expression before 'int'
  2055. CVAPI(void) cvRandArr( CvRNG* rng, CvArr* arr, int dist_type,
  2056. ^~~
  2057. c:\mingw\include\opencv2\core\core_c.h:1245:32: error: expected primary-expression before 'param1'
  2058. CvScalar param1, CvScalar param2 );
  2059. ^~~~~~
  2060. c:\mingw\include\opencv2\core\core_c.h:1245:49: error: expected primary-expression before 'param2'
  2061. CvScalar param1, CvScalar param2 );
  2062. ^~~~~~
  2063. c:\mingw\include\opencv2\core\core_c.h:1247:40: error: 'CvRNG' has not been declared
  2064. CVAPI(void) cvRandShuffle( CvArr* mat, CvRNG* rng,
  2065. ^~~~~
  2066. In file included from c:\mingw\include\opencv2\core\utility.hpp:886:0,
  2067. from c:\mingw\include\opencv2\core.hpp:3165,
  2068. from c:\mingw\include\opencv2\opencv.hpp:46,
  2069. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  2070. c:\mingw\include\opencv2\core\core_c.h:1925:23: error: 'CvRNG' has not been declared
  2071. CvRNG* rng CV_DEFAULT(0), int flags CV_DEFAULT(0),
  2072. ^~~~~
  2073. In file included from c:\mingw\include\opencv2\core\core_c.h:48:0,
  2074. from c:\mingw\include\opencv2\core\utility.hpp:886,
  2075. from c:\mingw\include\opencv2\core.hpp:3165,
  2076. from c:\mingw\include\opencv2\opencv.hpp:46,
  2077. from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:7:
  2078. c:\mingw\include\opencv2\core\core_c.h:2591:1: error: 'int64' does not name a type
  2079. CVAPI(int64) cvGetTickCount( void );
  2080. ^
  2081. In file included from C:\Users\Daito\Desktop\GPUGPU\GPUGPU.cpp:8:0:
  2082. c:\mingw\include\opencv2\gpu\gpu.hpp:432:29: error: 'vector' does not name a type
  2083. CV_EXPORTS void merge(const vector<GpuMat>& src, GpuMat& dst, Stream& stream = Stream::Null());
  2084. ^~~~~~
  2085. c:\mingw\include\opencv2\gpu\gpu.hpp:432:35: error: expected ',' or '...' before '<' token
  2086. CV_EXPORTS void merge(const vector<GpuMat>& src, GpuMat& dst, Stream& stream = Stream::Null());
  2087. ^
  2088. c:\mingw\include\opencv2\gpu\gpu.hpp:438:42: error: 'vector' has not been declared
  2089. CV_EXPORTS void split(const GpuMat& src, vector<GpuMat>& dst, Stream& stream = Stream::Null());
  2090. ^~~~~~
  2091. c:\mingw\include\opencv2\gpu\gpu.hpp:438:48: error: expected ',' or '...' before '<' token
  2092. CV_EXPORTS void split(const GpuMat& src, vector<GpuMat>& dst, Stream& stream = Stream::Null());
  2093. ^
  2094. c:\mingw\include\opencv2\gpu\gpu.hpp:1265:4: error: 'vector' does not name a type
  2095. vector<Point> locations;
  2096. ^~~~~~
  2097. c:\mingw\include\opencv2\gpu\gpu.hpp:1266:4: error: 'vector' does not name a type
  2098. vector<double> confidences;
  2099. ^~~~~~
  2100. c:\mingw\include\opencv2\gpu\gpu.hpp:1267:4: error: 'vector' does not name a type
  2101. vector<double> part_scores[4];
  2102. ^~~~~~
  2103. c:\mingw\include\opencv2\gpu\gpu.hpp:1285:31: error: 'vector' does not name a type
  2104. void setSVMDetector(const vector<float>& detector);
  2105. ^~~~~~
  2106. c:\mingw\include\opencv2\gpu\gpu.hpp:1285:37: error: expected ',' or '...' before '<' token
  2107. void setSVMDetector(const vector<float>& detector);
  2108. ^
  2109. c:\mingw\include\opencv2\gpu\gpu.hpp:1287:12: error: 'vector' does not name a type
  2110. static vector<float> getDefaultPeopleDetector();
  2111. ^~~~~~
  2112. c:\mingw\include\opencv2\gpu\gpu.hpp:1288:12: error: 'vector' does not name a type
  2113. static vector<float> getPeopleDetector48x96();
  2114. ^~~~~~
  2115. c:\mingw\include\opencv2\gpu\gpu.hpp:1289:12: error: 'vector' does not name a type
  2116. static vector<float> getPeopleDetector64x128();
  2117. ^~~~~~
  2118. c:\mingw\include\opencv2\gpu\gpu.hpp:1291:36: error: 'vector' has not been declared
  2119. void detect(const GpuMat& img, vector<Point>& found_locations,
  2120. ^~~~~~
  2121. c:\mingw\include\opencv2\gpu\gpu.hpp:1291:42: error: expected ',' or '...' before '<' token
  2122. void detect(const GpuMat& img, vector<Point>& found_locations,
  2123. ^
  2124. c:\mingw\include\opencv2\gpu\gpu.hpp:1295:46: error: 'vector' has not been declared
  2125. void detectMultiScale(const GpuMat& img, vector<Rect>& found_locations,
  2126. ^~~~~~
  2127. c:\mingw\include\opencv2\gpu\gpu.hpp:1295:52: error: expected ',' or '...' before '<' token
  2128. void detectMultiScale(const GpuMat& img, vector<Rect>& found_locations,
  2129. ^
  2130. c:\mingw\include\opencv2\gpu\gpu.hpp:1300:47: error: 'vector' has not been declared
  2131. void computeConfidence(const GpuMat& img, vector<Point>& hits, double hit_threshold,
  2132. ^~~~~~
  2133. c:\mingw\include\opencv2\gpu\gpu.hpp:1300:53: error: expected ',' or '...' before '<' token
  2134. void computeConfidence(const GpuMat& img, vector<Point>& hits, double hit_threshold,
  2135. ^
  2136. c:\mingw\include\opencv2\gpu\gpu.hpp:1303:57: error: 'vector' has not been declared
  2137. void computeConfidenceMultiScale(const GpuMat& img, vector<Rect>& found_locations,
  2138. ^~~~~~
  2139. c:\mingw\include\opencv2\gpu\gpu.hpp:1303:63: error: expected ',' or '...' before '<' token
  2140. void computeConfidenceMultiScale(const GpuMat& img, vector<Rect>& found_locations,
  2141. ^
  2142. c:\mingw\include\opencv2\gpu\gpu.hpp:1835:5: error: 'vector' does not name a type
  2143. vector<GpuMat> prevPyr_;
  2144. ^~~~~~
  2145. c:\mingw\include\opencv2\gpu\gpu.hpp:1836:5: error: 'vector' does not name a type
  2146. vector<GpuMat> nextPyr_;
  2147. ^~~~~~
  2148. c:\mingw\include\opencv2\gpu\gpu.hpp:1838:5: error: 'vector' does not name a type
  2149. vector<GpuMat> buf_;
  2150. ^~~~~~
  2151. c:\mingw\include\opencv2\gpu\gpu.hpp:1839:5: error: 'vector' does not name a type
  2152. vector<GpuMat> unused;
  2153. ^~~~~~
Advertisement
Add Comment
Please, Sign In to add comment