Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Dr. Stephen Henson
On Wed, Feb 15, 2006, Daniel Maag wrote: Hi, I am trying to compile OpenSSL V0.9.8a. Visual Studio 2005 has several functions deprecated (read,write,fileno). I have replaced the deprecated function with the new one( read()-_read() ) Anything is working fine with one exception

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Kyle Hamilton
...nd really stupid question, how do you configure the latest stable OpenSSL 0.9.8 (20060215) snapshot for win32? There is no opensslconf.h file (except in the MacOS directory), and nmake complains that it doesn't know how to make it. -Kyle H On 2/15/06, Dr. Stephen Henson [EMAIL PROTECTED]

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Dr. Stephen Henson
On Wed, Feb 15, 2006, Kyle Hamilton wrote: ...nd really stupid question, how do you configure the latest stable OpenSSL 0.9.8 (20060215) snapshot for win32? There is no opensslconf.h file (except in the MacOS directory), and nmake complains that it doesn't know how to make it. As

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Kyle Hamilton
I did. It mentioned nothing about this problem. I have Activestate Perl v5.8.7 installed, and nasm in the PATH. I ran ms\do_nasm.bat, as specified in INSTALL.W32. I then ran nmake -f ms\ntdll.mak, as specified in INSTALL.W32. C:\openssl-0.9.8-stable-SNAP-20060215nmake -f ms\ntdll.mak

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Kyle Hamilton
Also, after I copy opensslconf.h.in to opensslconf.h, nmake runs happily until: cl /Fotmp32dll\ec_asn1.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D DSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Dr. Stephen Henson
On Wed, Feb 15, 2006, Kyle Hamilton wrote: I did. It mentioned nothing about this problem. I have Activestate Perl v5.8.7 installed, and nasm in the PATH. I ran ms\do_nasm.bat, as specified in INSTALL.W32. Did you do: perl Configure VC-WIN32 first? Steve. -- Dr Stephen N. Henson.

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-15 Thread Kyle Hamilton
I thought it had, but it appears that I had not. My apologies. (Would you accept a patch to verify that the environment is set up correctly in the makefile?) ./crypto/opensslconf.h: @echo You need to run 'perl Configure VC-WIN32' before OpenSSL can be compiled @exit 42 -Kyle H Also,

Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-14 Thread Daniel Maag
Hi, I am trying to compile OpenSSL V0.9.8a. Visual Studio 2005 has several functions deprecated (read,write,fileno). I have replaced the deprecated function with the new one( read()-_read() ) Anything is working fine with one exception kbhit(). I've got the following 'error' codes:

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-14 Thread Duane Storey
You really should use the _name functions in portable code.. _ is reserved and typically implies non-portable, platform specific code.. On 2/14/06, Daniel Maag [EMAIL PROTECTED] wrote: Hi,I am trying to compile OpenSSL V0.9.8a.Visual Studio 2005 hasseveral functions

Re: Problems with deprecated kbhit() under MS VC/C++ V8.0 (Visual Studio 2005)

2006-02-14 Thread William A. Rowe, Jr.
Daniel Maag wrote: Hi, I am trying to compile OpenSSL V0.9.8a. Visual Studio 2005 has several functions deprecated (read,write,fileno). Honestly, I don't believe that OpenSSL should waste cycles to support any compiler that deliberate moves away from posix. Fairly certain it's MS's goal