httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44878] New: VC6 cannot always convert uint64 to float
Date Fri, 25 Apr 2008 21:20:03 GMT

           Summary: VC6 cannot always convert uint64 to float
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

Change 617890 (change 649114 for 2.2.x) causes problems for some Windows VC6

The default VC6 compiler cannot convert unsigned 64-bit int's to float:
 "error C2520: conversion from unsigned __int64 to double not implemented, use
signed __int64"

If the optional Microsoft "Processor Pack" is installed, this conversion works

Unfortunately, the Processor Pack is only available up to VC6-SP5, so those
users who have installed VC6-SP6 are out of luck.

Since a signed 64-bit int would allow up to 10^20 bytes, changing the
totalread, totalbread, and totalposted variables to apr_int64_t instead of
apr_uint64_t would allow all VC6 users to continue to compile support/ab.c.

There are no problems with later Microsoft compilers (VC7, VC8, VC9).  This is
really a Microsoft VC6 compiler weakness, not an Apache bug - but since VC6 is
the default compiler for builds this change would be helpful.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message