
bugzilla at apache
May 17, 2008, 8:11 AM
Post #1 of 1
(60 views)
Permalink
|
|
[Bug 45024] New: ab.c will not compile on VC6
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=45024 Summary: ab.c will not compile on VC6 Product: Apache httpd-2 Version: 2.3-HEAD Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Build AssignedTo: bugs[at]httpd.apache.org ReportedBy: lists[at]glewis.com INT_MAX is used to define MAX_REQUESTS on line 206 and requires the inclusion of limits.h. However, limits.h is not included till line 429 and building on VC6 goes down in flames. Furthermore, limits.h is included inside a conditional statement #ifndef RAND_MAX. Hypothetically, if RAND_MAX is already defined, the condition would be false and limits.h would never be included at which point I would think all compilers would frown on it. Since INT_MAX is used unconditionally, limits.h needs to be included before line 206 AFAIK. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org For additional commands, e-mail: bugs-help[at]httpd.apache.org
|