Herold Heiko <[EMAIL PROTECTED]> writes:

> In order to compile current cvs with msvc 3 patches are needed
> (enclosed):

Thanks for testing!

> 1)
> mswindows.c(118) : warning C4005: 'OVERFLOW' : macro redefinition
>         C:\PROGRA~1\MICROS~2\VC98\INCLUDE\math.h(415) : see previous
> definition of 'OVERFLOW'
> mswindows.c(119) : warning C4005: 'UNDERFLOW' : macro redefinition
>         C:\PROGRA~1\MICROS~2\VC98\INCLUDE\math.h(416) : see previous
> definition of 'UNDERFLOW'

Fixed now.

> (simple rename of course solves)
>
> 2) add http-ntlm.c to windows Makefiles (enclosed Borland/Watcom/Mingw,
> tested msvc only)

Note that http-ntlm should only be used if SSL is available.  How does
one do that in the MSVC Makefile?  We should use the same technique
that is used to compile SSL source files only when SSL is used.

> 3) As expected msvc still throws compiler error on http.c and retr.c, (bad)
> workaround: disable optimization. Anybody with a cl.exe newer than
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
> can comment if this is needed with newer versions, too ?

It seems that newer versions work correctly.  Two questions, though:

1. Is it possible to only lessen the optimization level, not entirely
   remove optimization?

2. Is it possible to test for the offending version of the compiler,
   and only then remove optimization?

> Beside that, I'm still very short on time and can barely follow
> development, in future most probably the situation will be worse
> (due to personal issues). If there would be anybody else capable and
> volunteering to release msvc binaries somewhat regulary I'd be more
> than glad.

Your contributions are much appreciated, thanks!  I'm sure someone
with more time will step up to do the Windows binaries.  (Now that
Wget compiles with the free CLI version of the Borland compiler, this
is easier than ever.)

Reply via email to