On 02/07/2012 02:46 PM, Gary Gregory wrote:
Hi All:I am not sure how much of an issue this is but I get the following warnings on Windows 7 64-bit and Microsoft Visual Studio 10.0: cd src\native\windows\apps cd prunsrv nmake CPU=X64 cl -c -nologo -DWIN32 -D_WIN32 -D_WINDOWS -D_WINNT -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -D_WIN32_IE=0x0600 -W3 -D_CONSOLE -EHsc -D_UNICODE -DUNICODE -D _AMD64_=1 -DWIN64 -D_WIN64 -O2 -Ob2 -Zi -DNDEBUG -D_MT -MD -I.\..\..\include -I.\..\..\src -I "C:\Program Files\Java\jdk1.6.0_29\include" -I "C:\Program Files\J ava\jdk1.6.0_29\include\win32" -FoWINXP_X64_EXE_RELEASE\ -FdWINXP_X64_EXE_RELEASE\prunsrv-src .\..\..\apps\prunsrv\prunsrv.c prunsrv.c .\..\..\apps\prunsrv\prunsrv.c(317) : *warning *C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecatio n, use _CRT_SECURE_NO_WARNINGS. See online help for details.
This is MS bullshit. They think we are all morons and need to check the param for each function 10 times. Just forget about those or ... nmake CPU=X64 EXTRA_CFLAGS=-D_CRT_SECURE_NO_WARNINGS Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
