Advertisement
tommig

main.c errors

Apr 9th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.69 KB | None | 0 0
  1. 1>------ Build started: Project: U mod, Configuration: Release Win32 ------
  2. 1> main.c
  3. 1>winp\src\main.c(69): warning C4018: '>' : signed/unsigned mismatch
  4. 1>winp\src\main.c(226): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  5. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
  6. 1>winp\src\main.c(227): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  7. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  8. 1>winp\src\main.c(810): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
  9. 1>winp\src\main.c(812): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  10. 1>winp\src\main.c(815): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  11. 1>winp\src\main.c(818): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  12. 1>winp\src\main.c(917): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  13. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
  14. 1>winp\src\main.c(924): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  15. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  16. 1>winp\src\main.c(952): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  17. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
  18. 1>winp\src\main.c(960): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
  19. 1>winp\src\main.c(961): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
  20. 1>winp\src\main.c(991): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  21. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
  22. 1>winp\src\main.c(993): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  23. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  24. 1>winp\src\main.c(1008): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  25. 1>winp\src\main.c(1023): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  26. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
  27. 1>winp\src\main.c(1047): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  28. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  29. 1>winp\src\main.c(1200): error C2275: 'SDL_AudioSpec' : illegal use of this type as an expression
  30. 1> C:\Users\User\Documents\powder toy\mod to compile\winp\includes\SDL/SDL_audio.h(93) : see declaration of 'SDL_AudioSpec'
  31. 1>winp\src\main.c(1200): error C2146: syntax error : missing ';' before identifier 'fmt'
  32. 1>winp\src\main.c(1200): error C2065: 'fmt' : undeclared identifier
  33. 1>winp\src\main.c(1202): error C2065: 'fmt' : undeclared identifier
  34. 1>winp\src\main.c(1202): error C2224: left of '.freq' must have struct/union type
  35. 1>winp\src\main.c(1203): error C2065: 'fmt' : undeclared identifier
  36. 1>winp\src\main.c(1203): error C2224: left of '.format' must have struct/union type
  37. 1>winp\src\main.c(1204): error C2065: 'fmt' : undeclared identifier
  38. 1>winp\src\main.c(1204): error C2224: left of '.channels' must have struct/union type
  39. 1>winp\src\main.c(1205): error C2065: 'fmt' : undeclared identifier
  40. 1>winp\src\main.c(1205): error C2224: left of '.samples' must have struct/union type
  41. 1>winp\src\main.c(1206): error C2065: 'fmt' : undeclared identifier
  42. 1>winp\src\main.c(1206): error C2224: left of '.callback' must have struct/union type
  43. 1>winp\src\main.c(1207): error C2065: 'fmt' : undeclared identifier
  44. 1>winp\src\main.c(1207): error C2224: left of '.userdata' must have struct/union type
  45. 1>winp\src\main.c(1209): error C2065: 'fmt' : undeclared identifier
  46. 1>winp\src\main.c(1209): warning C4133: 'function' : incompatible types - from 'int *' to 'SDL_AudioSpec *'
  47. 1>winp\src\main.c(1222): warning C4090: 'function' : different 'const' qualifiers
  48. 1>winp\src\main.c(1226): warning C4090: 'function' : different 'const' qualifiers
  49. 1>winp\src\main.c(1386): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  50. 1>winp\src\main.c(1387): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  51. 1>winp\src\main.c(1388): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  52. 1>winp\src\main.c(1389): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  53. 1>winp\src\main.c(1398): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  54. 1>winp\src\main.c(1399): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  55. 1>winp\src\main.c(1400): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  56. 1>winp\src\main.c(1401): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  57. 1>winp\src\main.c(1428): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  58. 1>winp\src\main.c(1429): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  59. 1>winp\src\main.c(1430): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  60. 1>winp\src\main.c(1431): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  61. 1>winp\src\main.c(1572): warning C4244: '-=' : conversion from 'double' to 'int', possible loss of data
  62. 1>winp\src\main.c(1573): warning C4244: '-=' : conversion from 'double' to 'int', possible loss of data
  63. 1>winp\src\main.c(1612): warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
  64. 1>winp\src\main.c(1613): warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data
  65. 1>winp\src\main.c(1688): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  66. 1>winp\src\main.c(1691): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  67. 1>winp\src\main.c(1694): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  68. 1>winp\src\main.c(1855): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  69. 1>winp\src\main.c(1856): warning C4013: 'process_command' undefined; assuming extern returning int
  70. 1>winp\src\main.c(2337): error C2143: syntax error : missing ';' before 'type'
  71. 1>winp\src\main.c(2338): error C2065: 'buff2' : undeclared identifier
  72. 1>winp\src\main.c(2338): warning C4022: 'memset' : pointer mismatch for actual parameter 1
  73. 1>winp\src\main.c(2338): error C2065: 'buff2' : undeclared identifier
  74. 1>winp\src\main.c(2339): error C2065: 'buff2' : undeclared identifier
  75. 1>winp\src\main.c(2340): error C2065: 'buff2' : undeclared identifier
  76. 1>winp\src\main.c(2340): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
  77. 1>winp\src\main.c(2340): warning C4024: 'open_ui' : different types for formal and actual parameter 2
  78. 1>winp\src\main.c(2684): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  79. 1>winp\src\main.c(2691): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  80. 1>winp\src\main.c(2729): error C2143: syntax error : missing ';' before 'type'
  81. 1>winp\src\main.c(2730): error C2143: syntax error : missing ';' before 'type'
  82. 1>winp\src\main.c(2731): error C2065: 'pch' : undeclared identifier
  83. 1>winp\src\main.c(2731): warning C4022: 'memset' : pointer mismatch for actual parameter 1
  84. 1>winp\src\main.c(2731): error C2065: 'pch' : undeclared identifier
  85. 1>winp\src\main.c(2732): error C2065: 'fileread' : undeclared identifier
  86. 1>winp\src\main.c(2732): warning C4022: 'memset' : pointer mismatch for actual parameter 1
  87. 1>winp\src\main.c(2732): error C2065: 'fileread' : undeclared identifier
  88. 1>winp\src\main.c(2733): error C2143: syntax error : missing ';' before 'type'
  89. 1>winp\src\main.c(2734): error C2143: syntax error : missing ';' before 'type'
  90. 1>winp\src\main.c(2735): error C2065: 'fileread' : undeclared identifier
  91. 1>winp\src\main.c(2735): warning C4022: 'fread' : pointer mismatch for actual parameter 1
  92. 1>winp\src\main.c(2736): error C2065: 'fileread' : undeclared identifier
  93. 1>winp\src\main.c(2736): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  94. 1>winp\src\main.c(2736): warning C4024: 'strlen' : different types for formal and actual parameter 1
  95. 1>winp\src\main.c(2736): warning C4018: '<' : signed/unsigned mismatch
  96. 1>winp\src\main.c(2738): error C2065: 'fileread' : undeclared identifier
  97. 1>winp\src\main.c(2738): error C2109: subscript requires array or pointer type
  98. 1>winp\src\main.c(2740): error C2065: 'pch' : undeclared identifier
  99. 1>winp\src\main.c(2740): error C2109: subscript requires array or pointer type
  100. 1>winp\src\main.c(2740): error C2065: 'fileread' : undeclared identifier
  101. 1>winp\src\main.c(2740): error C2109: subscript requires array or pointer type
  102. 1>winp\src\main.c(2741): error C2065: 'fileread' : undeclared identifier
  103. 1>winp\src\main.c(2741): error C2109: subscript requires array or pointer type
  104. 1>winp\src\main.c(2742): error C2065: 'tokens' : undeclared identifier
  105. 1>winp\src\main.c(2742): error C2109: subscript requires array or pointer type
  106. 1>winp\src\main.c(2742): error C2065: 'fileread' : undeclared identifier
  107. 1>winp\src\main.c(2742): error C2109: subscript requires array or pointer type
  108. 1>winp\src\main.c(2744): error C2065: 'fileread' : undeclared identifier
  109. 1>winp\src\main.c(2744): error C2109: subscript requires array or pointer type
  110. 1>winp\src\main.c(2744): error C2065: 'fileread' : undeclared identifier
  111. 1>winp\src\main.c(2744): error C2109: subscript requires array or pointer type
  112. 1>winp\src\main.c(2746): error C2065: 'tokens' : undeclared identifier
  113. 1>winp\src\main.c(2746): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  114. 1>winp\src\main.c(2746): warning C4024: 'sregexp' : different types for formal and actual parameter 1
  115. 1>winp\src\main.c(2750): error C2065: 'tokensize' : undeclared identifier
  116. 1>winp\src\main.c(2750): error C2065: 'tokens' : undeclared identifier
  117. 1>winp\src\main.c(2750): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  118. 1>winp\src\main.c(2750): warning C4024: 'strlen' : different types for formal and actual parameter 1
  119. 1>winp\src\main.c(2753): error C2065: 'tokens' : undeclared identifier
  120. 1>winp\src\main.c(2753): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  121. 1>winp\src\main.c(2753): warning C4024: 'sscanf' : different types for formal and actual parameter 1
  122. 1>winp\src\main.c(2754): error C2065: 'tokens' : undeclared identifier
  123. 1>winp\src\main.c(2754): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  124. 1>winp\src\main.c(2754): warning C4024: 'sscanf' : different types for formal and actual parameter 1
  125. 1>winp\src\main.c(2759): warning C4018: '<' : signed/unsigned mismatch
  126. 1>winp\src\main.c(2761): error C2065: 'pch' : undeclared identifier
  127. 1>winp\src\main.c(2761): error C2065: 'tokensize' : undeclared identifier
  128. 1>winp\src\main.c(2761): error C2109: subscript requires array or pointer type
  129. 1>winp\src\main.c(2764): error C2065: 'pch' : undeclared identifier
  130. 1>winp\src\main.c(2764): error C2065: 'tokensize' : undeclared identifier
  131. 1>winp\src\main.c(2764): error C2109: subscript requires array or pointer type
  132. 1>winp\src\main.c(2766): warning C4018: '<' : signed/unsigned mismatch
  133. 1>winp\src\main.c(2768): error C2065: 'pch' : undeclared identifier
  134. 1>winp\src\main.c(2768): error C2065: 'tokensize' : undeclared identifier
  135. 1>winp\src\main.c(2768): error C2109: subscript requires array or pointer type
  136. 1>winp\src\main.c(2771): error C2065: 'pch' : undeclared identifier
  137. 1>winp\src\main.c(2771): error C2065: 'tokensize' : undeclared identifier
  138. 1>winp\src\main.c(2771): error C2109: subscript requires array or pointer type
  139. 1>winp\src\main.c(2772): error C2065: 'tokensize' : undeclared identifier
  140. 1>winp\src\main.c(2774): error C2065: 'tokens' : undeclared identifier
  141. 1>winp\src\main.c(2774): warning C4022: 'memset' : pointer mismatch for actual parameter 1
  142. 1>winp\src\main.c(2774): error C2065: 'tokens' : undeclared identifier
  143. 1>winp\src\main.c(2777): error C2065: 'fileread' : undeclared identifier
  144. 1>winp\src\main.c(2777): error C2109: subscript requires array or pointer type
  145. 1>winp\src\main.c(2782): error C2065: 'pch' : undeclared identifier
  146. 1>winp\src\main.c(2782): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  147. 1>winp\src\main.c(2782): warning C4024: 'strcmp' : different types for formal and actual parameter 1
  148. 1>winp\src\main.c(2785): error C2065: 'pch' : undeclared identifier
  149. 1>winp\src\main.c(2785): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
  150. 1>winp\src\main.c(2785): warning C4024: 'process_command' : different types for formal and actual parameter 2
  151. 1>winp\src\main.c(2787): error C2065: 'pch' : undeclared identifier
  152. 1>winp\src\main.c(2787): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  153. 1>winp\src\main.c(2787): warning C4024: 'strcmp' : different types for formal and actual parameter 1
  154. 1>winp\src\main.c(2787): error C2065: 'pch' : undeclared identifier
  155. 1>winp\src\main.c(2787): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
  156. 1>winp\src\main.c(2787): warning C4024: 'strcmp' : different types for formal and actual parameter 1
  157. 1>winp\src\main.c(2789): error C2065: 'pch' : undeclared identifier
  158. 1>winp\src\main.c(2789): warning C4022: 'memset' : pointer mismatch for actual parameter 1
  159. 1>winp\src\main.c(2789): error C2065: 'pch' : undeclared identifier
  160. 1>winp\src\main.c(2834): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  161. 1>winp\src\main.c(2836): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  162. 1>winp\src\main.c(2953): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  163. 1>winp\src\main.c(2962): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  164. 1>winp\src\main.c(2970): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  165. 1>winp\src\main.c(3011): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  166. 1>winp\src\main.c(3020): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  167. 1>winp\src\main.c(3028): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  168. 1>winp\src\main.c(3040): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  169. 1>winp\src\main.c(3049): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  170. 1>winp\src\main.c(3057): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  171. 1>winp\src\main.c(3098): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  172. 1>winp\src\main.c(3107): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  173. 1>winp\src\main.c(3115): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  174. 1>winp\src\main.c(3127): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  175. 1>winp\src\main.c(3136): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  176. 1>winp\src\main.c(3144): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
  177. 1> misc.c
  178. 1>winp\src\misc.c(58): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  179. 1>winp\src\misc.c(94): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  180. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  181. 1>winp\src\misc.c(134): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  182. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  183. 1>winp\src\misc.c(263): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  184. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
  185. 1> Generating Code...
  186. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement