Received: (qmail 62400 invoked by uid 65534); 7 Mar 2000 20:07:59 -0000 Message-Id: <20000307200759.62399.qmail@locus.apache.org> Date: 7 Mar 2000 20:07:59 -0000 From: Anil A.Pal Reply-To: apal@yahoo-inc.com To: submit@bugz.apache.org Subject: rename src/include/alloc.h - conflicts with gcc-2.95.2/include/g++-3/alloc.h X-Send-Pr-Version: 3.110 >Number: 5841 >Category: os-bsdi >Synopsis: rename src/include/alloc.h - conflicts with gcc-2.95.2/include/g++-3/alloc.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Tue Mar 07 12:10:01 PST 2000 >Closed-Date: Thu Jun 22 18:09:10 PDT 2000 >Last-Modified: Thu Jun 22 18:09:10 PDT 2000 >Originator: apal@yahoo-inc.com >Release: 1.3.12 >Organization: >Environment: FreeBSD kerndev1.yahoo.com 3.4-STABLE gcc version 2.95.2 19991024 (release) >Description: The file name "alloc.h" conflicts with the C++ standard library file "alloc.h" C++ programs that use -Iapache/src/include and try to use C++ library includes (e.g. get the apache alloc.h and barf. >How-To-Repeat: #include #include int main(int argc, char *argv[]) { return 0; } >Fix: Suggest changing the file name to ap_alloc.h - there is only one include of it (httpd.h) and the Makefile.tmpl files will need to be update with a "make depend" The file is included in httpd.h, so most external code will not include it directly. I've verified that this fix works in my environment. >Release-Note: >Audit-Trail: Comment-Added-By: wrowe Comment-Added-When: Thu Jun 22 18:08:38 PDT 2000 Comment-Added: The fix was -much- larger than that, once you consider all the .in, .mak, .dsp and .impl files in Apache that included alloc.h as a dependency :) The fix you request has been implemented in the forthcoming release of Apache 1.3.13. Thank you for your report and interest in the Apache project. State-Changed-From-To: open-closed State-Changed-By: wrowe State-Changed-When: Thu Jun 22 18:09:09 PDT 2000 State-Changed-Why: Response sent. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]