httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Wisniewski <ga...@spidereye.com.au>
Subject Re: Compiling with MSVC++ 5.0?
Date Wed, 18 Jun 1997 02:34:41 GMT
OK, I've had a combination of problems using MSVC++ 5.0
and DevStudio, but they all seem minor.

First, the line-endings problem was obvious (from Paul's
original mail), but then, both nt/nt.c and nt/ntcrypt.c are missing,
as well as getting a variety of warning messages.  I didn't
continue too far, since I wanted to confirm that I'm at least
getting the sources from the right place, etc., etc.  Bear with me,
I'm totally new to the group.

I got the sources from from_cvs, the current tar archive:
http://dev.apache.org/from-cvs/apache_19970618010017.tar.gz

I wonder if using MS Tools for the baseline build is at all the
best approach.  Is there a good reason for not using GCC,
and GNU Make to consolidate the make process a bit more?

Here is the output from MSVC 5 DevStudio, just FYI.  I changed
nothing but the apache.mak line endings, so this is a pretty
raw attempt:

--------------------Configuration: apache - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build
'C:\safe\Apache\build\src\nt\ntcrypt.c'
Compiling...
util_snprintf.c
C:\safe\Apache\build\src\util_snprintf.c(393) : warning C4244: '=' :
conversion from 'unsigned long ' to 'char ', possible loss of data
buff.c
explain.c
http_bprintf.c
http_config.c
http_core.c
C:\safe\Apache\build\src\http_core.c(537) : warning C4305: '=' : truncation
from 'const int ' to 'char '
C:\safe\Apache\build\src\http_core.c(539) : warning C4305: '=' : truncation
from 'const int ' to 'char '
C:\safe\Apache\build\src\http_core.c(1151) : warning C4761: integral size
mismatch in argument; conversion supplied
http_log.c
http_main.c
http_protocol.c
C:\safe\Apache\build\src\http_protocol.c(534) : warning C4018: '<=' :
signed/unsigned mismatch
http_request.c
md5c.c
mod_access.c
mod_actions.c
mod_alias.c
mod_asis.c
mod_auth.c
alloc.c
util_script.c
mod_cgi.c
C:\safe\Apache\build\src\mod_cgi.c(346) : warning C4101: 'err_string' :
unreferenced local variable
mod_dir.c
mod_env.c
mod_imap.c
C:\safe\Apache\build\src\mod_imap.c(187) : warning C4244: '=' : conversion
from 'double ' to 'int ', possible loss of data
C:\safe\Apache\build\src\mod_imap.c(190) : warning C4244: '=' : conversion
from 'double ' to 'int ', possible loss of data
mod_include.c
C:\safe\Apache\build\src\mod_include.c(663) : warning C4101: 'err_string' :
unreferenced local variable
C:\safe\Apache\build\src\mod_include.c(1870) : warning C4101: 'state' :
unreferenced local variable
mod_log_config.c
mod_mime.c
mod_negotiation.c
C:\safe\Apache\build\src\mod_negotiation.c(368) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(371) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(373) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(512) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(684) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(1006) : warning C4305: '=' :
truncation from 'const double ' to 'float '
C:\safe\Apache\build\src\mod_negotiation.c(1148) : warning C4305: '=' :
truncation from 'const double ' to 'float '
C:\safe\Apache\build\src\mod_negotiation.c(1198) : warning C4244: '=' :
conversion from 'long ' to 'float ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(1201) : warning C4244: 'return'
: conversion from 'float ' to 'int ', possible loss of data
C:\safe\Apache\build\src\mod_negotiation.c(1261) : warning C4305: '=' :
truncation from 'const double ' to 'float '
C:\safe\Apache\build\src\mod_negotiation.c(1262) : warning C4305: '=' :
truncation from 'const double ' to 'float '
mod_userdir.c
rfc1413.c
util.c
C:\safe\Apache\build\src\util.c(235) : warning C4018: '<=' :
signed/unsigned mismatch
C:\safe\Apache\build\src\util.c(259) : warning C4018: '<=' :
signed/unsigned mismatch
util_date.c
util_md5.c
mod_browser.c
modules.c
multithread.c
service.c
C:\safe\Apache\build\src\NT\service.c(60) : warning C4013: 'create_event'
undefined; assuming extern returning int
C:\safe\Apache\build\src\NT\service.c(60) : warning C4047: '=' : 'void *'
differs in levels of indirection from 'int '
getopt.c
nt.c
fatal error C1083: Cannot open source file:
'C:\safe\Apache\build\src\nt\nt.c': No such file or directory
ntcrypt.c
fatal error C1083: Cannot open source file:
'C:\safe\Apache\build\src\nt\ntcrypt.c': No such file or directory
Error executing cl.exe.

apache.exe - 2 error(s), 26 warning(s)




------------------------------
Gary Wisniewski
Spider Eye Studios Pty. Ltd., Australia, +61 3 9415 6700
[Formerly GUI Online Productions]


Mime
View raw message