1>------ Build started: Project: Neospector, Configuration: Debug Win32 ------ 1> powder (2).c 1>c:\users\john\downloads\powder-42.3-src\powder.h(337): error C2143: syntax error : missing ';' before 'type' 1>c:\users\john\downloads\powder-42.3-src\powder.h(337): error C2059: syntax error : ';' 1>c:\users\john\downloads\powder-42.3-src\powder.h(338): error C2449: found '{' at file scope (missing function header?) 1>c:\users\john\downloads\powder-42.3-src\powder.h(421): error C2059: syntax error : '}' 1>powder (2).c(263): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(264): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(300): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(301): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(302): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(303): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(305): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(306): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(307): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(308): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(310): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(311): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(312): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(313): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(315): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(316): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(317): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(318): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(439): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data 1>powder (2).c(449): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(706): warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(822): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1187): warning C4305: '*=' : truncation from 'double' to 'float' 1>powder (2).c(1188): warning C4305: '*=' : truncation from 'double' to 'float' 1>powder (2).c(1249): warning C4305: '*=' : truncation from 'double' to 'float' 1>powder (2).c(1250): warning C4305: '*=' : truncation from 'double' to 'float' 1>powder (2).c(1531): warning C4305: 'initializing' : truncation from 'double' to 'float' 1>powder (2).c(1544): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1545): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1546): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1547): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1553): warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1699): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data 1>powder (2).c(1739): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1755): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>powder (2).c(1764): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1770): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1776): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1782): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1814): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1815): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1822): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1839): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data 1>powder (2).c(1840): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1847): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data 1>powder (2).c(1865): warning C4305: '-=' : truncation from 'double' to 'float' 1>powder (2).c(1866): warning C4305: '+=' : truncation from 'double' to 'float' 1>powder (2).c(1871): warning C4305: '-=' : truncation from 'double' to 'float' 1>powder (2).c(1872): warning C4305: '+=' : truncation from 'double' to 'float' ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I'm bumping this up because I got a weird error, first it gives me: 1>------ Build started: Project: Neospector, Configuration: Debug Win32 ------ 1> update.c 1>update.c(97): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>update.c(101): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>update.c(106): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>update.c(168): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>update.c(172): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1> powder.c 1>c1 : fatal error C1083: Cannot open source file: 'powder.c': No such file or directory 1> misc.c 1>misc.c(55): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>misc.c(91): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>misc.c(118): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>misc.c(238): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1> md5.c 1> main.c 1>main.c(159): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(160): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>main.c(606): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>main.c(608): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>main.c(611): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1>main.c(710): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(717): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>main.c(745): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(753): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data 1>main.c(754): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data 1>main.c(784): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(786): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>main.c(801): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>main.c(816): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(840): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen' 1>main.c(1002): warning C4090: 'function' : different 'const' qualifiers 1>main.c(1027): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy' 1>main.c(1164): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(325) : see declaration of 'sscanf' 1>main.c(1271): warning C4244: '-=' : conversion from 'double' to 'int', possible loss of data 1>main.c(1293): warning C4244: '+=' : conversion from 'double' to 'int', possible loss of data 1>main.c(1429): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(1434): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(1471): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(2053): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>main.c(2086): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data 1> interface.c 1>interface.c(141): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>interface.c(207): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy' 1>interface.c(531): 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. 1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf' 1>interface.c(533): 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 detail
jakester12345 It's supposed to not even use powder.c, it's supposed to use powder (2).c I'll rename the file though. Edit: only cut the errors in half. For some reason it's having trouble with main.c, which I didn't even change.