Re: DWORD_MAX

2004-09-24 Thread NormW



Good evening All,
Thanks for the feedback... I just do a CVS build from time 
to time to see if it compiles okay... no urgency as no customers!  
:-)
Norm
 

  - Original Message - 
  From: 
  Jean-Jacques 
  Clar 
  To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] 
  Sent: Friday, September 24, 2004 9:26 
  AM
  Subject: Re: DWORD_MAX
  
  Norm,
  If you can just do a cut and paste of the define
  from the windows header into apr.hnw for today. 
  Tomorrow I will figure out what is the right thing to do for
  NetWare.
  Have a good day,
  JJ>>> [EMAIL PROTECTED] 
  09/23/04 4:18 PM >>>
  NormW wrote:> Compiling 
  network_io/win32/sendrecv.c> ### mwccnlm Compiler:> 
  #    File: network_io\win32\sendrecv.c> # 
  > # 
  110:      while (cur_len > 
  DWORD_MAX) {> #   
  Error:   
  ^> #   undefined identifier 'DWORD_MAX'That 
  would be my recent update and I assume itmeans that the definition for 
  DWORD_MAX needs tobe copied from apr.hw to apr.hnw. Could someone 
  fromthe NW side please confirm that is the correct thingto do & I 
  will update it.Thanks, Allan


Re: DWORD_MAX

2004-09-23 Thread Jean-Jacques Clar


Norm,
If you can just do a cut and paste of the define
from the windows header into apr.hnw for today. 
Tomorrow I will figure out what is the right thing to do for
NetWare.
Have a good day,
JJ>>> [EMAIL PROTECTED] 09/23/04 4:18 PM >>>
NormW wrote:> Compiling network_io/win32/sendrecv.c> ### mwccnlm Compiler:> #    File: network_io\win32\sendrecv.c> # > #     110:      while (cur_len > DWORD_MAX) {> #   Error:   ^> #   undefined identifier 'DWORD_MAX'That would be my recent update and I assume itmeans that the definition for DWORD_MAX needs tobe copied from apr.hw to apr.hnw. Could someone fromthe NW side please confirm that is the correct thingto do & I will update it.Thanks, Allan


Re: DWORD_MAX

2004-09-23 Thread Allan Edwards
NormW wrote:
Compiling network_io/win32/sendrecv.c
### mwccnlm Compiler:
#File: network_io\win32\sendrecv.c
# 
# 110:  while (cur_len > DWORD_MAX) {
#   Error:   ^
#   undefined identifier 'DWORD_MAX'
That would be my recent update and I assume it
means that the definition for DWORD_MAX needs to
be copied from apr.hw to apr.hnw. Could someone from
the NW side please confirm that is the correct thing
to do & I will update it.
Thanks, Allan


Re: DWORD_MAX

2004-09-23 Thread Jeff Trawick
On Fri, 24 Sep 2004 07:39:01 +1000, NormW <[EMAIL PROTECTED]> wrote:
> Good morning All,
> Just trying a build of Apache2.1 from CVS on Windows for the NetWare
> platform, and get the following:
> 
> #File: network_io\win32\sendrecv.c
> # 
> # 110:  while (cur_len > DWORD_MAX) {
...
> Can't recall if there is supposed to be a win32 bit in the NetWare build,

well, that bit ;)

> but perhaps the #define DWORD_MAX should be used in other apr.h? variants?

hack in a big value for DWORD_MAX in apr.nw such as

#define DWORD_MAX (2147483647)

until the smart people figure out what the real fix is


DWORD_MAX

2004-09-23 Thread NormW
Good morning All,
Just trying a build of Apache2.1 from CVS on Windows for the NetWare
platform, and get the following:

Compiling file_io/unix/seek.c
Compiling network_io/win32/sendrecv.c
### mwccnlm Compiler:
#File: network_io\win32\sendrecv.c
# 
# 110:  while (cur_len > DWORD_MAX) {
#   Error:   ^
#   undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 112:  cur_len -= DWORD_MAX;
#   Error: ^
#   undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 126:  if (cur_len > DWORD_MAX) {
#   Error:^
#   undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 128:  pWsaBuf[j].len = DWORD_MAX;
#   Error:   ^
#   undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 129:  cur_len -= DWORD_MAX;
#   Error:     ^
#   undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 130:  base += DWORD_MAX;
#   Error:      ^
#   undefined identifier 'DWORD_MAX'

Errors caused tool to abort.
make[1]: *** [Release/sendrecv.o] Error 1
make: *** [srclib\apr] Error 2

Can't recall if there is supposed to be a win32 bit in the NetWare build,
but perhaps the #define DWORD_MAX should be used in other apr.h? variants?
Ran a 'clean' from the top NWGNUmakefile and repeated the build and still
get this problem.
Norm