Guest User

Untitled

a guest
Mar 29th, 2018
292
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In file included from c:\mingw\include\stdio.h:9:0,
  2. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  3. c:\mingw\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type
  4. __MINGW_EXTENSION typedef __int64 __time64_t;
  5. ^~~~~~~~~~~~~~~~~
  6. c:\mingw\include\crtdefs.h:138:9: error: '__time64_t' does not name a type
  7. typedef __time64_t time_t;
  8. ^~~~~~~~~~
  9. In file included from c:\mingw\include\stdio.h:80:0,
  10. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  11. c:\mingw\include\_mingw_off_t.h:13:3: error: '__MINGW_EXTENSION' does not name a type
  12. __MINGW_EXTENSION typedef long long _off64_t;
  13. ^~~~~~~~~~~~~~~~~
  14. c:\mingw\include\_mingw_off_t.h:15:3: error: '__MINGW_EXTENSION' does not name a type
  15. __MINGW_EXTENSION typedef long long off64_t;
  16. ^~~~~~~~~~~~~~~~~
  17. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  18. c:\mingw\include\stdio.h:91:34: error: expected ')' before '(' token
  19. extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */
  20. ^
  21. c:\mingw\include\stdio.h:103:3: error: '__MINGW_EXTENSION' does not name a type
  22. __MINGW_EXTENSION typedef __int64 fpos_t;
  23. ^~~~~~~~~~~~~~~~~
  24. c:\mingw\include\stdio.h:144:96: error: 'va_list' has not been declared
  25. int __cdecl __mingw_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  26. ^~~~~~~
  27. c:\mingw\include\stdio.h:150:64: error: 'va_list' has not been declared
  28. int __cdecl __mingw_vscanf(const char * __restrict__ Format, va_list argp);
  29. ^~~~~~~
  30. c:\mingw\include\stdio.h:156:89: error: 'va_list' has not been declared
  31. int __cdecl __mingw_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  32. ^~~~~~~
  33. c:\mingw\include\stdio.h:161:32: error: 'va_list' has not been declared
  34. va_list _ArgList);
  35. ^~~~~~~
  36. c:\mingw\include\stdio.h:170:60: error: 'va_list' has not been declared
  37. int __cdecl __mingw_vprintf (const char * __restrict__ , va_list) __MINGW_NOTHROW;
  38. ^~~~~~~
  39. c:\mingw\include\stdio.h:176:83: error: 'va_list' has not been declared
  40. int __cdecl __mingw_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  41. ^~~~~~~
  42. c:\mingw\include\stdio.h:182:83: error: 'va_list' has not been declared
  43. int __cdecl __mingw_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  44. ^~~~~~~
  45. c:\mingw\include\stdio.h:188:84: error: 'va_list' has not been declared
  46. int __cdecl __mingw_vasprintf(char ** __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  47. ^~~~~~~
  48. c:\mingw\include\stdio.h:391:88: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  49. int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  50. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51. c:\mingw\include\stdio.h:394:84: error: 'va_list' has not been declared
  52. int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list _ArgList);
  53. ^~~~~~~
  54. c:\mingw\include\stdio.h:396:57: error: 'va_list' has not been declared
  55. int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList);
  56. ^~~~~~~
  57. c:\mingw\include\stdio.h:398:84: error: 'va_list' has not been declared
  58. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  59. ^~~~~~~
  60. c:\mingw\include\stdio.h:398:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  61. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  62. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  63. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  64. c:\mingw\include\stdio.h:401:87: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  65. int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  66. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. c:\mingw\include\stdio.h:403:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  68. int __cdecl scanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  69. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. c:\mingw\include\stdio.h:405:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  71. int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  72. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. c:\mingw\include\stdio.h:417:61: error: 'va_list' has not been declared
  74. int __cdecl __ms_vscanf(const char * __restrict__ Format, va_list argp);
  75. ^~~~~~~
  76. c:\mingw\include\stdio.h:419:86: error: 'va_list' has not been declared
  77. int __cdecl __ms_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  78. ^~~~~~~
  79. c:\mingw\include\stdio.h:421:93: error: 'va_list' has not been declared
  80. int __cdecl __ms_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  81. ^~~~~~~
  82. c:\mingw\include\stdio.h:423:3: error: '__mingw_ovr' does not name a type
  83. __mingw_ovr
  84. ^~~~~~~~~~~
  85. c:\mingw\include\stdio.h:430:3: error: '__mingw_ovr' does not name a type
  86. __mingw_ovr
  87. ^~~~~~~~~~~
  88. c:\mingw\include\stdio.h:436:3: error: '__mingw_ovr' does not name a type
  89. __mingw_ovr
  90. ^~~~~~~~~~~
  91. c:\mingw\include\stdio.h:470:50: error: 'fpos_t' has not been declared
  92. int __cdecl fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* 64bit only, no 32bit version */
  93. ^~~~~~
  94. c:\mingw\include\stdio.h:471:52: error: 'fpos_t' has not been declared
  95. int __cdecl fgetpos64(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* fgetpos already 64bit */
  96. ^~~~~~
  97. c:\mingw\include\stdio.h:479:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  98. FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  99. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100. c:\mingw\include\stdio.h:485:120: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  101. FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  102. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  103. c:\mingw\include\stdio.h:486:41: error: 'fpos_t' does not name a type
  104. int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos);
  105. ^~~~~~
  106. c:\mingw\include\stdio.h:487:43: error: 'fpos_t' does not name a type
  107. int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */
  108. ^~~~~~
  109. c:\mingw\include\stdio.h:492:30: error: '_off64_t' has not been declared
  110. int fseeko64(FILE* stream, _off64_t offset, int whence);
  111. ^~~~~~~~
  112. c:\mingw\include\stdio.h:505:3: error: '_off64_t' does not name a type
  113. _off64_t ftello64(FILE * stream);
  114. ^~~~~~~~
  115. c:\mingw\include\stdio.h:514:3: error: '__MINGW_EXTENSION' does not name a type
  116. __MINGW_EXTENSION int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin);
  117. ^~~~~~~~~~~~~~~~~
  118. c:\mingw\include\stdio.h:515:3: error: '__MINGW_EXTENSION' does not name a type
  119. __MINGW_EXTENSION __int64 __cdecl _ftelli64(FILE *_File);
  120. ^~~~~~~~~~~~~~~~~
  121. c:\mingw\include\stdio.h:520:37: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  122. char *__cdecl gets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  123. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  124. c:\mingw\include\stdio.h:542:45: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  125. int __cdecl unlink(const char *_Filename) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  126. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127. c:\mingw\include\stdio.h:547:78: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  128. void __cdecl setbuf(FILE * __restrict__ _File,char * __restrict__ _Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  129. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  130. c:\mingw\include\stdio.h:553:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  131. _CRTIMP int __cdecl _snscanf(const char * __restrict__ _Src,size_t _MaxCount,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  132. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  133. c:\mingw\include\stdio.h:554:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  134. FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  135. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  136. c:\mingw\include\stdio.h:559:112: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  137. _CRTIMP int __cdecl _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  138. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. c:\mingw\include\stdio.h:561:108: error: 'va_list' has not been declared
  140. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  141. ^~~~~~~
  142. c:\mingw\include\stdio.h:561:123: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  143. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  144. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145. c:\mingw\include\stdio.h:577:94: error: 'va_list' has not been declared
  146. int __cdecl __ms_vsnprintf(char * __restrict__ d,size_t n,const char * __restrict__ format,va_list arg)
  147. ^~~~~~~
  148. c:\mingw\include\stdio.h:578:5: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  149. __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  150. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151. c:\mingw\include\stdio.h:580:3: error: '__mingw_ovr' does not name a type
  152. __mingw_ovr
  153. ^~~~~~~~~~~
  154. c:\mingw\include\stdio.h:591:1: error: '__mingw_ovr' does not name a type
  155. __mingw_ovr
  156. ^~~~~~~~~~~
  157. c:\mingw\include\stdio.h:610:68: error: 'va_list' has not been declared
  158. _CRTIMP int __cdecl _vscprintf(const char * __restrict__ _Format,va_list _ArgList);
  159. ^~~~~~~
  160. c:\mingw\include\stdio.h:620:103: error: 'va_list' has not been declared
  161. int __cdecl __mingw_vswscanf (const wchar_t * __restrict__ _Str,const wchar_t * __restrict__ Format,va_list argp);
  162. ^~~~~~~
  163. c:\mingw\include\stdio.h:624:68: error: 'va_list' has not been declared
  164. int __cdecl __mingw_vwscanf(const wchar_t * __restrict__ Format, va_list argp);
  165. ^~~~~~~
  166. c:\mingw\include\stdio.h:628:93: error: 'va_list' has not been declared
  167. int __cdecl __mingw_vfwscanf (FILE * __restrict__ fp, const wchar_t * __restrict__ Format,va_list argp);
  168. ^~~~~~~
  169. c:\mingw\include\stdio.h:635:96: error: 'va_list' has not been declared
  170. int __cdecl __mingw_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  171. ^~~~~~~
  172. c:\mingw\include\stdio.h:637:69: error: 'va_list' has not been declared
  173. int __cdecl __mingw_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  174. ^~~~~~~
  175. c:\mingw\include\stdio.h:641:99: error: 'va_list' has not been declared
  176. int __cdecl __mingw_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  177. ^~~~~~~
  178. c:\mingw\include\stdio.h:645:88: error: 'va_list' has not been declared
  179. int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list);
  180. ^~~~~~~
  181. c:\mingw\include\stdio.h:768:91: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  182. int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  183. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184. c:\mingw\include\stdio.h:769:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  185. int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  186. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  187. c:\mingw\include\stdio.h:770:64: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  188. int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  189. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  190. c:\mingw\include\stdio.h:772:60: error: 'va_list' has not been declared
  191. int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list);
  192. ^~~~~~~
  193. c:\mingw\include\stdio.h:773:81: error: 'va_list' has not been declared
  194. int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  195. ^~~~~~~
  196. c:\mingw\include\stdio.h:774:90: error: 'va_list' has not been declared
  197. int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  198. ^~~~~~~
  199. c:\mingw\include\stdio.h:776:3: error: '__mingw_ovr' does not name a type
  200. __mingw_ovr
  201. ^~~~~~~~~~~
  202. c:\mingw\include\stdio.h:783:3: error: '__mingw_ovr' does not name a type
  203. __mingw_ovr
  204. ^~~~~~~~~~~
  205. c:\mingw\include\stdio.h:789:3: error: '__mingw_ovr' does not name a type
  206. __mingw_ovr
  207. ^~~~~~~~~~~
  208. c:\mingw\include\stdio.h:800:88: error: 'va_list' has not been declared
  209. int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  210. ^~~~~~~
  211. c:\mingw\include\stdio.h:801:61: error: 'va_list' has not been declared
  212. int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  213. ^~~~~~~
  214. c:\mingw\include\stdio.h:825:53: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  215. _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  216. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217. c:\mingw\include\stdio.h:830:124: error: 'va_list' has not been declared
  218. _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList);
  219. ^~~~~~~
  220. c:\mingw\include\stdio.h:831:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  221. _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  222. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  223. c:\mingw\include\stdio.h:832:115: error: 'va_list' has not been declared
  224. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  225. ^~~~~~~
  226. c:\mingw\include\stdio.h:832:130: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  227. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  228. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  229. c:\mingw\include\stdio.h:842:96: error: 'va_list' has not been declared
  230. int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  231. ^~~~~~~
  232. c:\mingw\include\stdio.h:843:3: error: '__mingw_ovr' does not name a type
  233. __mingw_ovr
  234. ^~~~~~~~~~~
  235. c:\mingw\include\stdio.h:853:3: error: '__mingw_ovr' does not name a type
  236. __mingw_ovr
  237. ^~~~~~~~~~~
  238. c:\mingw\include\stdio.h:864:100: error: 'va_list' has not been declared
  239. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  240. ^~~~~~~
  241. In file included from c:\mingw\include\stdio.h:867:0,
  242. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  243. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, size_t, const wchar_t*, char*)':
  244. c:\mingw\include\swprintf.inl:25:64: error: 'vsnwprintf' was not declared in this scope
  245. return vsnwprintf( __stream, __count, __format, __local_argv );
  246. ^
  247. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, const wchar_t*, char*)':
  248. c:\mingw\include\swprintf.inl:52:55: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  249. return _vswprintf( __stream, __format, __local_argv );
  250. ^
  251. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  252. c:\mingw\include\stdio.h:864:23: note: initializing argument 3 of 'int _vswprintf(wchar_t*, const wchar_t*, int)'
  253. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  254. ^~~~~~~~~~
  255. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  256. c:\mingw\include\stdio.h: At global scope:
  257. c:\mingw\include\stdio.h:881:108: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  258. _CRTIMP FILE *__cdecl _wfopen(const wchar_t * __restrict__ _Filename,const wchar_t *__restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  259. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  260. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  261. c:\mingw\include\stdio.h:882:139: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  262. _CRTIMP FILE *__cdecl _wfreopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode,FILE * __restrict__ _OldFile) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  263. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  264. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  265. c:\mingw\include\stdio.h: In function 'wint_t getwchar()':
  266. c:\mingw\include\stdio.h:905:58: error: '__iob_func' was not declared in this scope
  267. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  268. ^
  269. c:\mingw\include\stdio.h:905:58: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  270. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  271. ^
  272. c:\mingw\include\stdio.h: In function 'wint_t putwchar(wchar_t)':
  273. c:\mingw\include\stdio.h:906:71: error: '__iob_func' was not declared in this scope
  274. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  275. ^
  276. c:\mingw\include\stdio.h:906:71: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  277. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  278. ^
  279. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  280. c:\mingw\include\stdio.h: At global scope:
  281. c:\mingw\include\stdio.h:934:3: error: '__MINGW_EXTENSION' does not name a type
  282. __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock(FILE *_File,__int64 _Offset,int _Origin);
  283. ^~~~~~~~~~~~~~~~~
  284. c:\mingw\include\stdio.h:935:3: error: '__MINGW_EXTENSION' does not name a type
  285. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64_nolock(FILE *_File);
  286. ^~~~~~~~~~~~~~~~~
  287. c:\mingw\include\stdio.h:943:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  288. char *__cdecl tempnam(const char *_Directory,const char *_FilePrefix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  289. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  290. c:\mingw\include\stdio.h:944:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  291. int __cdecl fcloseall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  292. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  293. c:\mingw\include\stdio.h:945:61: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  294. FILE *__cdecl fdopen(int _FileHandle,const char *_Format) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  295. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  296. c:\mingw\include\stdio.h:946:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  297. int __cdecl fgetchar(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  298. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  299. c:\mingw\include\stdio.h:947:35: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  300. int __cdecl fileno(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  301. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  302. c:\mingw\include\stdio.h:948:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  303. int __cdecl flushall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  304. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  305. c:\mingw\include\stdio.h:949:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  306. int __cdecl fputchar(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  307. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  308. c:\mingw\include\stdio.h:950:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  309. int __cdecl getw(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  310. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  311. c:\mingw\include\stdio.h:951:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  312. int __cdecl putw(int _Ch,FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  313. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  314. c:\mingw\include\stdio.h:952:27: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  315. int __cdecl rmtmp(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  316. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  317.  
  318. C:\自作MinGW>g++ C:\Users\Daito\Desktop\NEWhello.cpp -o C:\Users\Daito\Desktop\NEWhello
  319. In file included from c:\mingw\include\stdio.h:9:0,
  320. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  321. c:\mingw\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type
  322. __MINGW_EXTENSION typedef __int64 __time64_t;
  323. ^~~~~~~~~~~~~~~~~
  324. c:\mingw\include\crtdefs.h:138:9: error: '__time64_t' does not name a type
  325. typedef __time64_t time_t;
  326. ^~~~~~~~~~
  327. In file included from c:\mingw\include\stdio.h:80:0,
  328. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  329. c:\mingw\include\_mingw_off_t.h:13:3: error: '__MINGW_EXTENSION' does not name a type
  330. __MINGW_EXTENSION typedef long long _off64_t;
  331. ^~~~~~~~~~~~~~~~~
  332. c:\mingw\include\_mingw_off_t.h:15:3: error: '__MINGW_EXTENSION' does not name a type
  333. __MINGW_EXTENSION typedef long long off64_t;
  334. ^~~~~~~~~~~~~~~~~
  335. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  336. c:\mingw\include\stdio.h:91:34: error: expected ')' before '(' token
  337. extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */
  338. ^
  339. c:\mingw\include\stdio.h:103:3: error: '__MINGW_EXTENSION' does not name a type
  340. __MINGW_EXTENSION typedef __int64 fpos_t;
  341. ^~~~~~~~~~~~~~~~~
  342. c:\mingw\include\stdio.h:144:96: error: 'va_list' has not been declared
  343. int __cdecl __mingw_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  344. ^~~~~~~
  345. c:\mingw\include\stdio.h:150:64: error: 'va_list' has not been declared
  346. int __cdecl __mingw_vscanf(const char * __restrict__ Format, va_list argp);
  347. ^~~~~~~
  348. c:\mingw\include\stdio.h:156:89: error: 'va_list' has not been declared
  349. int __cdecl __mingw_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  350. ^~~~~~~
  351. c:\mingw\include\stdio.h:161:32: error: 'va_list' has not been declared
  352. va_list _ArgList);
  353. ^~~~~~~
  354. c:\mingw\include\stdio.h:170:60: error: 'va_list' has not been declared
  355. int __cdecl __mingw_vprintf (const char * __restrict__ , va_list) __MINGW_NOTHROW;
  356. ^~~~~~~
  357. c:\mingw\include\stdio.h:176:83: error: 'va_list' has not been declared
  358. int __cdecl __mingw_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  359. ^~~~~~~
  360. c:\mingw\include\stdio.h:182:83: error: 'va_list' has not been declared
  361. int __cdecl __mingw_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  362. ^~~~~~~
  363. c:\mingw\include\stdio.h:188:84: error: 'va_list' has not been declared
  364. int __cdecl __mingw_vasprintf(char ** __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  365. ^~~~~~~
  366. c:\mingw\include\stdio.h:391:88: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  367. int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  368. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  369. c:\mingw\include\stdio.h:394:84: error: 'va_list' has not been declared
  370. int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list _ArgList);
  371. ^~~~~~~
  372. c:\mingw\include\stdio.h:396:57: error: 'va_list' has not been declared
  373. int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList);
  374. ^~~~~~~
  375. c:\mingw\include\stdio.h:398:84: error: 'va_list' has not been declared
  376. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  377. ^~~~~~~
  378. c:\mingw\include\stdio.h:398:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  379. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  380. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  381. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  382. c:\mingw\include\stdio.h:401:87: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  383. int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  384. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  385. c:\mingw\include\stdio.h:403:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  386. int __cdecl scanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  387. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  388. c:\mingw\include\stdio.h:405:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  389. int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  390. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  391. c:\mingw\include\stdio.h:417:61: error: 'va_list' has not been declared
  392. int __cdecl __ms_vscanf(const char * __restrict__ Format, va_list argp);
  393. ^~~~~~~
  394. c:\mingw\include\stdio.h:419:86: error: 'va_list' has not been declared
  395. int __cdecl __ms_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  396. ^~~~~~~
  397. c:\mingw\include\stdio.h:421:93: error: 'va_list' has not been declared
  398. int __cdecl __ms_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  399. ^~~~~~~
  400. c:\mingw\include\stdio.h:423:3: error: '__mingw_ovr' does not name a type
  401. __mingw_ovr
  402. ^~~~~~~~~~~
  403. c:\mingw\include\stdio.h:430:3: error: '__mingw_ovr' does not name a type
  404. __mingw_ovr
  405. ^~~~~~~~~~~
  406. c:\mingw\include\stdio.h:436:3: error: '__mingw_ovr' does not name a type
  407. __mingw_ovr
  408. ^~~~~~~~~~~
  409. c:\mingw\include\stdio.h:470:50: error: 'fpos_t' has not been declared
  410. int __cdecl fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* 64bit only, no 32bit version */
  411. ^~~~~~
  412. c:\mingw\include\stdio.h:471:52: error: 'fpos_t' has not been declared
  413. int __cdecl fgetpos64(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* fgetpos already 64bit */
  414. ^~~~~~
  415. c:\mingw\include\stdio.h:479:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  416. FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  417. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  418. c:\mingw\include\stdio.h:485:120: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  419. FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  420. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  421. c:\mingw\include\stdio.h:486:41: error: 'fpos_t' does not name a type
  422. int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos);
  423. ^~~~~~
  424. c:\mingw\include\stdio.h:487:43: error: 'fpos_t' does not name a type
  425. int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */
  426. ^~~~~~
  427. c:\mingw\include\stdio.h:492:30: error: '_off64_t' has not been declared
  428. int fseeko64(FILE* stream, _off64_t offset, int whence);
  429. ^~~~~~~~
  430. c:\mingw\include\stdio.h:505:3: error: '_off64_t' does not name a type
  431. _off64_t ftello64(FILE * stream);
  432. ^~~~~~~~
  433. c:\mingw\include\stdio.h:514:3: error: '__MINGW_EXTENSION' does not name a type
  434. __MINGW_EXTENSION int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin);
  435. ^~~~~~~~~~~~~~~~~
  436. c:\mingw\include\stdio.h:515:3: error: '__MINGW_EXTENSION' does not name a type
  437. __MINGW_EXTENSION __int64 __cdecl _ftelli64(FILE *_File);
  438. ^~~~~~~~~~~~~~~~~
  439. c:\mingw\include\stdio.h:520:37: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  440. char *__cdecl gets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  441. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442. c:\mingw\include\stdio.h:542:45: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  443. int __cdecl unlink(const char *_Filename) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  444. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  445. c:\mingw\include\stdio.h:547:78: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  446. void __cdecl setbuf(FILE * __restrict__ _File,char * __restrict__ _Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  447. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  448. c:\mingw\include\stdio.h:553:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  449. _CRTIMP int __cdecl _snscanf(const char * __restrict__ _Src,size_t _MaxCount,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  450. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  451. c:\mingw\include\stdio.h:554:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  452. FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  453. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454. c:\mingw\include\stdio.h:559:112: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  455. _CRTIMP int __cdecl _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  456. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  457. c:\mingw\include\stdio.h:561:108: error: 'va_list' has not been declared
  458. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  459. ^~~~~~~
  460. c:\mingw\include\stdio.h:561:123: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  461. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  462. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  463. c:\mingw\include\stdio.h:577:94: error: 'va_list' has not been declared
  464. int __cdecl __ms_vsnprintf(char * __restrict__ d,size_t n,const char * __restrict__ format,va_list arg)
  465. ^~~~~~~
  466. c:\mingw\include\stdio.h:578:5: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  467. __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  468. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  469. c:\mingw\include\stdio.h:580:3: error: '__mingw_ovr' does not name a type
  470. __mingw_ovr
  471. ^~~~~~~~~~~
  472. c:\mingw\include\stdio.h:591:1: error: '__mingw_ovr' does not name a type
  473. __mingw_ovr
  474. ^~~~~~~~~~~
  475. c:\mingw\include\stdio.h:610:68: error: 'va_list' has not been declared
  476. _CRTIMP int __cdecl _vscprintf(const char * __restrict__ _Format,va_list _ArgList);
  477. ^~~~~~~
  478. c:\mingw\include\stdio.h:620:103: error: 'va_list' has not been declared
  479. int __cdecl __mingw_vswscanf (const wchar_t * __restrict__ _Str,const wchar_t * __restrict__ Format,va_list argp);
  480. ^~~~~~~
  481. c:\mingw\include\stdio.h:624:68: error: 'va_list' has not been declared
  482. int __cdecl __mingw_vwscanf(const wchar_t * __restrict__ Format, va_list argp);
  483. ^~~~~~~
  484. c:\mingw\include\stdio.h:628:93: error: 'va_list' has not been declared
  485. int __cdecl __mingw_vfwscanf (FILE * __restrict__ fp, const wchar_t * __restrict__ Format,va_list argp);
  486. ^~~~~~~
  487. c:\mingw\include\stdio.h:635:96: error: 'va_list' has not been declared
  488. int __cdecl __mingw_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  489. ^~~~~~~
  490. c:\mingw\include\stdio.h:637:69: error: 'va_list' has not been declared
  491. int __cdecl __mingw_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  492. ^~~~~~~
  493. c:\mingw\include\stdio.h:641:99: error: 'va_list' has not been declared
  494. int __cdecl __mingw_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  495. ^~~~~~~
  496. c:\mingw\include\stdio.h:645:88: error: 'va_list' has not been declared
  497. int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list);
  498. ^~~~~~~
  499. c:\mingw\include\stdio.h:768:91: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  500. int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  501. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  502. c:\mingw\include\stdio.h:769:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  503. int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  504. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  505. c:\mingw\include\stdio.h:770:64: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  506. int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  507. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  508. c:\mingw\include\stdio.h:772:60: error: 'va_list' has not been declared
  509. int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list);
  510. ^~~~~~~
  511. c:\mingw\include\stdio.h:773:81: error: 'va_list' has not been declared
  512. int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  513. ^~~~~~~
  514. c:\mingw\include\stdio.h:774:90: error: 'va_list' has not been declared
  515. int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  516. ^~~~~~~
  517. c:\mingw\include\stdio.h:776:3: error: '__mingw_ovr' does not name a type
  518. __mingw_ovr
  519. ^~~~~~~~~~~
  520. c:\mingw\include\stdio.h:783:3: error: '__mingw_ovr' does not name a type
  521. __mingw_ovr
  522. ^~~~~~~~~~~
  523. c:\mingw\include\stdio.h:789:3: error: '__mingw_ovr' does not name a type
  524. __mingw_ovr
  525. ^~~~~~~~~~~
  526. c:\mingw\include\stdio.h:800:88: error: 'va_list' has not been declared
  527. int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  528. ^~~~~~~
  529. c:\mingw\include\stdio.h:801:61: error: 'va_list' has not been declared
  530. int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  531. ^~~~~~~
  532. c:\mingw\include\stdio.h:825:53: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  533. _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  534. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  535. c:\mingw\include\stdio.h:830:124: error: 'va_list' has not been declared
  536. _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList);
  537. ^~~~~~~
  538. c:\mingw\include\stdio.h:831:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  539. _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  540. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  541. c:\mingw\include\stdio.h:832:115: error: 'va_list' has not been declared
  542. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  543. ^~~~~~~
  544. c:\mingw\include\stdio.h:832:130: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  545. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  546. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  547. c:\mingw\include\stdio.h:842:96: error: 'va_list' has not been declared
  548. int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  549. ^~~~~~~
  550. c:\mingw\include\stdio.h:843:3: error: '__mingw_ovr' does not name a type
  551. __mingw_ovr
  552. ^~~~~~~~~~~
  553. c:\mingw\include\stdio.h:853:3: error: '__mingw_ovr' does not name a type
  554. __mingw_ovr
  555. ^~~~~~~~~~~
  556. c:\mingw\include\stdio.h:864:100: error: 'va_list' has not been declared
  557. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  558. ^~~~~~~
  559. In file included from c:\mingw\include\stdio.h:867:0,
  560. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  561. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, size_t, const wchar_t*, char*)':
  562. c:\mingw\include\swprintf.inl:25:64: error: 'vsnwprintf' was not declared in this scope
  563. return vsnwprintf( __stream, __count, __format, __local_argv );
  564. ^
  565. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, const wchar_t*, char*)':
  566. c:\mingw\include\swprintf.inl:52:55: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  567. return _vswprintf( __stream, __format, __local_argv );
  568. ^
  569. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  570. c:\mingw\include\stdio.h:864:23: note: initializing argument 3 of 'int _vswprintf(wchar_t*, const wchar_t*, int)'
  571. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  572. ^~~~~~~~~~
  573. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  574. c:\mingw\include\stdio.h: At global scope:
  575. c:\mingw\include\stdio.h:881:108: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  576. _CRTIMP FILE *__cdecl _wfopen(const wchar_t * __restrict__ _Filename,const wchar_t *__restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  577. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  578. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  579. c:\mingw\include\stdio.h:882:139: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  580. _CRTIMP FILE *__cdecl _wfreopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode,FILE * __restrict__ _OldFile) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  581. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  582. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  583. c:\mingw\include\stdio.h: In function 'wint_t getwchar()':
  584. c:\mingw\include\stdio.h:905:58: error: '__iob_func' was not declared in this scope
  585. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  586. ^
  587. c:\mingw\include\stdio.h:905:58: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  588. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  589. ^
  590. c:\mingw\include\stdio.h: In function 'wint_t putwchar(wchar_t)':
  591. c:\mingw\include\stdio.h:906:71: error: '__iob_func' was not declared in this scope
  592. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  593. ^
  594. c:\mingw\include\stdio.h:906:71: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  595. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  596. ^
  597. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  598. c:\mingw\include\stdio.h: At global scope:
  599. c:\mingw\include\stdio.h:934:3: error: '__MINGW_EXTENSION' does not name a type
  600. __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock(FILE *_File,__int64 _Offset,int _Origin);
  601. ^~~~~~~~~~~~~~~~~
  602. c:\mingw\include\stdio.h:935:3: error: '__MINGW_EXTENSION' does not name a type
  603. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64_nolock(FILE *_File);
  604. ^~~~~~~~~~~~~~~~~
  605. c:\mingw\include\stdio.h:943:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  606. char *__cdecl tempnam(const char *_Directory,const char *_FilePrefix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  607. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  608. c:\mingw\include\stdio.h:944:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  609. int __cdecl fcloseall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  610. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  611. c:\mingw\include\stdio.h:945:61: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  612. FILE *__cdecl fdopen(int _FileHandle,const char *_Format) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  613. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  614. c:\mingw\include\stdio.h:946:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  615. int __cdecl fgetchar(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  616. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  617. c:\mingw\include\stdio.h:947:35: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  618. int __cdecl fileno(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  619. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  620. c:\mingw\include\stdio.h:948:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  621. int __cdecl flushall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  622. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  623. c:\mingw\include\stdio.h:949:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  624. int __cdecl fputchar(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  625. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  626. c:\mingw\include\stdio.h:950:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  627. int __cdecl getw(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  628. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  629. c:\mingw\include\stdio.h:951:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  630. int __cdecl putw(int _Ch,FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  631. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  632. c:\mingw\include\stdio.h:952:27: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  633. int __cdecl rmtmp(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  634. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  635.  
  636. C:\自作MinGW>g++ C:\Users\Daito\Desktop\NEWhello.cpp -o C:\Users\Daito\Desktop\NEWhello
  637. In file included from c:\mingw\include\stdio.h:9:0,
  638. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  639. c:\mingw\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type
  640. __MINGW_EXTENSION typedef __int64 __time64_t;
  641. ^~~~~~~~~~~~~~~~~
  642. c:\mingw\include\crtdefs.h:138:9: error: '__time64_t' does not name a type
  643. typedef __time64_t time_t;
  644. ^~~~~~~~~~
  645. In file included from c:\mingw\include\stdio.h:80:0,
  646. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  647. c:\mingw\include\_mingw_off_t.h:13:3: error: '__MINGW_EXTENSION' does not name a type
  648. __MINGW_EXTENSION typedef long long _off64_t;
  649. ^~~~~~~~~~~~~~~~~
  650. c:\mingw\include\_mingw_off_t.h:15:3: error: '__MINGW_EXTENSION' does not name a type
  651. __MINGW_EXTENSION typedef long long off64_t;
  652. ^~~~~~~~~~~~~~~~~
  653. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  654. c:\mingw\include\stdio.h:91:34: error: expected ')' before '(' token
  655. extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer to an array of FILE */
  656. ^
  657. c:\mingw\include\stdio.h:103:3: error: '__MINGW_EXTENSION' does not name a type
  658. __MINGW_EXTENSION typedef __int64 fpos_t;
  659. ^~~~~~~~~~~~~~~~~
  660. c:\mingw\include\stdio.h:144:96: error: 'va_list' has not been declared
  661. int __cdecl __mingw_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  662. ^~~~~~~
  663. c:\mingw\include\stdio.h:150:64: error: 'va_list' has not been declared
  664. int __cdecl __mingw_vscanf(const char * __restrict__ Format, va_list argp);
  665. ^~~~~~~
  666. c:\mingw\include\stdio.h:156:89: error: 'va_list' has not been declared
  667. int __cdecl __mingw_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  668. ^~~~~~~
  669. c:\mingw\include\stdio.h:161:32: error: 'va_list' has not been declared
  670. va_list _ArgList);
  671. ^~~~~~~
  672. c:\mingw\include\stdio.h:170:60: error: 'va_list' has not been declared
  673. int __cdecl __mingw_vprintf (const char * __restrict__ , va_list) __MINGW_NOTHROW;
  674. ^~~~~~~
  675. c:\mingw\include\stdio.h:176:83: error: 'va_list' has not been declared
  676. int __cdecl __mingw_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  677. ^~~~~~~
  678. c:\mingw\include\stdio.h:182:83: error: 'va_list' has not been declared
  679. int __cdecl __mingw_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  680. ^~~~~~~
  681. c:\mingw\include\stdio.h:188:84: error: 'va_list' has not been declared
  682. int __cdecl __mingw_vasprintf(char ** __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW;
  683. ^~~~~~~
  684. c:\mingw\include\stdio.h:391:88: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  685. int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  686. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  687. c:\mingw\include\stdio.h:394:84: error: 'va_list' has not been declared
  688. int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list _ArgList);
  689. ^~~~~~~
  690. c:\mingw\include\stdio.h:396:57: error: 'va_list' has not been declared
  691. int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList);
  692. ^~~~~~~
  693. c:\mingw\include\stdio.h:398:84: error: 'va_list' has not been declared
  694. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  695. ^~~~~~~
  696. c:\mingw\include\stdio.h:398:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  697. int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  698. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  699. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  700. c:\mingw\include\stdio.h:401:87: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  701. int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  702. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  703. c:\mingw\include\stdio.h:403:60: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  704. int __cdecl scanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  705. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  706. c:\mingw\include\stdio.h:405:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  707. int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  708. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  709. c:\mingw\include\stdio.h:417:61: error: 'va_list' has not been declared
  710. int __cdecl __ms_vscanf(const char * __restrict__ Format, va_list argp);
  711. ^~~~~~~
  712. c:\mingw\include\stdio.h:419:86: error: 'va_list' has not been declared
  713. int __cdecl __ms_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp);
  714. ^~~~~~~
  715. c:\mingw\include\stdio.h:421:93: error: 'va_list' has not been declared
  716. int __cdecl __ms_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp);
  717. ^~~~~~~
  718. c:\mingw\include\stdio.h:423:3: error: '__mingw_ovr' does not name a type
  719. __mingw_ovr
  720. ^~~~~~~~~~~
  721. c:\mingw\include\stdio.h:430:3: error: '__mingw_ovr' does not name a type
  722. __mingw_ovr
  723. ^~~~~~~~~~~
  724. c:\mingw\include\stdio.h:436:3: error: '__mingw_ovr' does not name a type
  725. __mingw_ovr
  726. ^~~~~~~~~~~
  727. c:\mingw\include\stdio.h:470:50: error: 'fpos_t' has not been declared
  728. int __cdecl fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* 64bit only, no 32bit version */
  729. ^~~~~~
  730. c:\mingw\include\stdio.h:471:52: error: 'fpos_t' has not been declared
  731. int __cdecl fgetpos64(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); /* fgetpos already 64bit */
  732. ^~~~~~
  733. c:\mingw\include\stdio.h:479:92: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  734. FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  735. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  736. c:\mingw\include\stdio.h:485:120: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  737. FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  738. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  739. c:\mingw\include\stdio.h:486:41: error: 'fpos_t' does not name a type
  740. int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos);
  741. ^~~~~~
  742. c:\mingw\include\stdio.h:487:43: error: 'fpos_t' does not name a type
  743. int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */
  744. ^~~~~~
  745. c:\mingw\include\stdio.h:492:30: error: '_off64_t' has not been declared
  746. int fseeko64(FILE* stream, _off64_t offset, int whence);
  747. ^~~~~~~~
  748. c:\mingw\include\stdio.h:505:3: error: '_off64_t' does not name a type
  749. _off64_t ftello64(FILE * stream);
  750. ^~~~~~~~
  751. c:\mingw\include\stdio.h:514:3: error: '__MINGW_EXTENSION' does not name a type
  752. __MINGW_EXTENSION int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin);
  753. ^~~~~~~~~~~~~~~~~
  754. c:\mingw\include\stdio.h:515:3: error: '__MINGW_EXTENSION' does not name a type
  755. __MINGW_EXTENSION __int64 __cdecl _ftelli64(FILE *_File);
  756. ^~~~~~~~~~~~~~~~~
  757. c:\mingw\include\stdio.h:520:37: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  758. char *__cdecl gets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  759. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  760. c:\mingw\include\stdio.h:542:45: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  761. int __cdecl unlink(const char *_Filename) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  762. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  763. c:\mingw\include\stdio.h:547:78: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  764. void __cdecl setbuf(FILE * __restrict__ _File,char * __restrict__ _Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  765. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  766. c:\mingw\include\stdio.h:553:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  767. _CRTIMP int __cdecl _snscanf(const char * __restrict__ _Src,size_t _MaxCount,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  768. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  769. c:\mingw\include\stdio.h:554:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  770. FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  771. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  772. c:\mingw\include\stdio.h:559:112: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  773. _CRTIMP int __cdecl _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  774. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  775. c:\mingw\include\stdio.h:561:108: error: 'va_list' has not been declared
  776. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  777. ^~~~~~~
  778. c:\mingw\include\stdio.h:561:123: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  779. _CRTIMP int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  780. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  781. c:\mingw\include\stdio.h:577:94: error: 'va_list' has not been declared
  782. int __cdecl __ms_vsnprintf(char * __restrict__ d,size_t n,const char * __restrict__ format,va_list arg)
  783. ^~~~~~~
  784. c:\mingw\include\stdio.h:578:5: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  785. __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  786. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  787. c:\mingw\include\stdio.h:580:3: error: '__mingw_ovr' does not name a type
  788. __mingw_ovr
  789. ^~~~~~~~~~~
  790. c:\mingw\include\stdio.h:591:1: error: '__mingw_ovr' does not name a type
  791. __mingw_ovr
  792. ^~~~~~~~~~~
  793. c:\mingw\include\stdio.h:610:68: error: 'va_list' has not been declared
  794. _CRTIMP int __cdecl _vscprintf(const char * __restrict__ _Format,va_list _ArgList);
  795. ^~~~~~~
  796. c:\mingw\include\stdio.h:620:103: error: 'va_list' has not been declared
  797. int __cdecl __mingw_vswscanf (const wchar_t * __restrict__ _Str,const wchar_t * __restrict__ Format,va_list argp);
  798. ^~~~~~~
  799. c:\mingw\include\stdio.h:624:68: error: 'va_list' has not been declared
  800. int __cdecl __mingw_vwscanf(const wchar_t * __restrict__ Format, va_list argp);
  801. ^~~~~~~
  802. c:\mingw\include\stdio.h:628:93: error: 'va_list' has not been declared
  803. int __cdecl __mingw_vfwscanf (FILE * __restrict__ fp, const wchar_t * __restrict__ Format,va_list argp);
  804. ^~~~~~~
  805. c:\mingw\include\stdio.h:635:96: error: 'va_list' has not been declared
  806. int __cdecl __mingw_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  807. ^~~~~~~
  808. c:\mingw\include\stdio.h:637:69: error: 'va_list' has not been declared
  809. int __cdecl __mingw_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  810. ^~~~~~~
  811. c:\mingw\include\stdio.h:641:99: error: 'va_list' has not been declared
  812. int __cdecl __mingw_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  813. ^~~~~~~
  814. c:\mingw\include\stdio.h:645:88: error: 'va_list' has not been declared
  815. int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list);
  816. ^~~~~~~
  817. c:\mingw\include\stdio.h:768:91: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  818. int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  819. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  820. c:\mingw\include\stdio.h:769:99: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  821. int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  822. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  823. c:\mingw\include\stdio.h:770:64: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  824. int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  825. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  826. c:\mingw\include\stdio.h:772:60: error: 'va_list' has not been declared
  827. int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list);
  828. ^~~~~~~
  829. c:\mingw\include\stdio.h:773:81: error: 'va_list' has not been declared
  830. int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  831. ^~~~~~~
  832. c:\mingw\include\stdio.h:774:90: error: 'va_list' has not been declared
  833. int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list);
  834. ^~~~~~~
  835. c:\mingw\include\stdio.h:776:3: error: '__mingw_ovr' does not name a type
  836. __mingw_ovr
  837. ^~~~~~~~~~~
  838. c:\mingw\include\stdio.h:783:3: error: '__mingw_ovr' does not name a type
  839. __mingw_ovr
  840. ^~~~~~~~~~~
  841. c:\mingw\include\stdio.h:789:3: error: '__mingw_ovr' does not name a type
  842. __mingw_ovr
  843. ^~~~~~~~~~~
  844. c:\mingw\include\stdio.h:800:88: error: 'va_list' has not been declared
  845. int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList);
  846. ^~~~~~~
  847. c:\mingw\include\stdio.h:801:61: error: 'va_list' has not been declared
  848. int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList);
  849. ^~~~~~~
  850. c:\mingw\include\stdio.h:825:53: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  851. _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  852. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  853. c:\mingw\include\stdio.h:830:124: error: 'va_list' has not been declared
  854. _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList);
  855. ^~~~~~~
  856. c:\mingw\include\stdio.h:831:119: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  857. _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  858. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  859. c:\mingw\include\stdio.h:832:115: error: 'va_list' has not been declared
  860. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  861. ^~~~~~~
  862. c:\mingw\include\stdio.h:832:130: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  863. _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  864. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  865. c:\mingw\include\stdio.h:842:96: error: 'va_list' has not been declared
  866. int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list);
  867. ^~~~~~~
  868. c:\mingw\include\stdio.h:843:3: error: '__mingw_ovr' does not name a type
  869. __mingw_ovr
  870. ^~~~~~~~~~~
  871. c:\mingw\include\stdio.h:853:3: error: '__mingw_ovr' does not name a type
  872. __mingw_ovr
  873. ^~~~~~~~~~~
  874. c:\mingw\include\stdio.h:864:100: error: 'va_list' has not been declared
  875. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  876. ^~~~~~~
  877. In file included from c:\mingw\include\stdio.h:867:0,
  878. from C:\Users\Daito\Desktop\NEWhello.cpp:2:
  879. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, size_t, const wchar_t*, char*)':
  880. c:\mingw\include\swprintf.inl:25:64: error: 'vsnwprintf' was not declared in this scope
  881. return vsnwprintf( __stream, __count, __format, __local_argv );
  882. ^
  883. c:\mingw\include\swprintf.inl: In function 'int vswprintf(wchar_t*, const wchar_t*, char*)':
  884. c:\mingw\include\swprintf.inl:52:55: error: invalid conversion from 'char*' to 'int' [-fpermissive]
  885. return _vswprintf( __stream, __format, __local_argv );
  886. ^
  887. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  888. c:\mingw\include\stdio.h:864:23: note: initializing argument 3 of 'int _vswprintf(wchar_t*, const wchar_t*, int)'
  889. _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args);
  890. ^~~~~~~~~~
  891. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  892. c:\mingw\include\stdio.h: At global scope:
  893. c:\mingw\include\stdio.h:881:108: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  894. _CRTIMP FILE *__cdecl _wfopen(const wchar_t * __restrict__ _Filename,const wchar_t *__restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  895. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  896. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  897. c:\mingw\include\stdio.h:882:139: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN'
  898. _CRTIMP FILE *__cdecl _wfreopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode,FILE * __restrict__ _OldFile) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
  899. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  900. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  901. c:\mingw\include\stdio.h: In function 'wint_t getwchar()':
  902. c:\mingw\include\stdio.h:905:58: error: '__iob_func' was not declared in this scope
  903. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  904. ^
  905. c:\mingw\include\stdio.h:905:58: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  906. __CRT_INLINE wint_t __cdecl getwchar() {return (fgetwc(stdin)); }
  907. ^
  908. c:\mingw\include\stdio.h: In function 'wint_t putwchar(wchar_t)':
  909. c:\mingw\include\stdio.h:906:71: error: '__iob_func' was not declared in this scope
  910. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  911. ^
  912. c:\mingw\include\stdio.h:906:71: error: '__MINGW_IMP_SYMBOL' was not declared in this scope
  913. __CRT_INLINE wint_t __cdecl putwchar(wchar_t _C) {return (fputwc(_C,stdout)); }
  914. ^
  915. In file included from C:\Users\Daito\Desktop\NEWhello.cpp:2:0:
  916. c:\mingw\include\stdio.h: At global scope:
  917. c:\mingw\include\stdio.h:934:3: error: '__MINGW_EXTENSION' does not name a type
  918. __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock(FILE *_File,__int64 _Offset,int _Origin);
  919. ^~~~~~~~~~~~~~~~~
  920. c:\mingw\include\stdio.h:935:3: error: '__MINGW_EXTENSION' does not name a type
  921. __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64_nolock(FILE *_File);
  922. ^~~~~~~~~~~~~~~~~
  923. c:\mingw\include\stdio.h:943:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  924. char *__cdecl tempnam(const char *_Directory,const char *_FilePrefix) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  925. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  926. c:\mingw\include\stdio.h:944:31: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  927. int __cdecl fcloseall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  928. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  929. c:\mingw\include\stdio.h:945:61: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  930. FILE *__cdecl fdopen(int _FileHandle,const char *_Format) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  931. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  932. c:\mingw\include\stdio.h:946:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  933. int __cdecl fgetchar(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  934. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  935. c:\mingw\include\stdio.h:947:35: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  936. int __cdecl fileno(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  937. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  938. c:\mingw\include\stdio.h:948:30: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  939. int __cdecl flushall(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  940. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  941. c:\mingw\include\stdio.h:949:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  942. int __cdecl fputchar(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  943. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  944. c:\mingw\include\stdio.h:950:33: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  945. int __cdecl getw(FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  946. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  947. c:\mingw\include\stdio.h:951:41: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  948. int __cdecl putw(int _Ch,FILE *_File) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  949. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  950. c:\mingw\include\stdio.h:952:27: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005'
  951. int __cdecl rmtmp(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
RAW Paste Data