Received: (qmail 5423 invoked by uid 2012); 25 Nov 1999 04:35:24 -0000 Message-Id: <19991125043524.5422.qmail@hyperreal.org> Date: 25 Nov 1999 04:35:24 -0000 From: SAKAI Kiyotaka Reply-To: ksakai@netwk.ntt-at.co.jp To: apbugs@hyperreal.org Subject: Including ap_config.h in C++ X-Send-Pr-Version: 3.2 >Number: 5363 >Category: general >Synopsis: Including ap_config.h in C++ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 24 20:40:00 PST 1999 >Last-Modified: Sun Nov 28 05:10:06 PST 1999 >Originator: ksakai@netwk.ntt-at.co.jp >Organization: apache >Release: 1.3.9 >Environment: SUNOS 4.1.4 >Description: When including ap_config.h in C++ program, compiling fails because 'template' is reserved word. >How-To-Repeat: >Fix: The following patch is necessary. =================================================================== RCS file: src/include/RCS/ap_config.h,v retrieving revision 1.1 diff -u -r1.1 src/include/ap_config.h --- src/include/ap_config.h 1999/11/25 04:25:48 1.1 +++ src/include/ap_config.h 1999/11/25 04:25:57 @@ -159,7 +159,7 @@ #undef NO_KILLPG #undef NO_SETSID char *crypt(const char *pw, const char *salt); -char *mktemp(char *template); +char *mktemp(char *); #define HAVE_MMAP 1 #define USE_MMAP_SCOREBOARD #define USE_MMAP_FILES >Audit-Trail: From: "Ralf S. Engelschall" To: apbugs@apache.org Cc: Subject: Re: general/5363: Including ap_config.h in C++ Date: Sun, 28 Nov 1999 13:28:09 +0100 In article <19991125043524.5422.qmail@hyperreal.org> you wrote: >>Number: 5363 >>Category: general >>Synopsis: Including ap_config.h in C++ > [...] > When including ap_config.h in C++ program, compiling fails > because 'template' is reserved word. Fixed for Apache 1.3.10. Thanks for your feedback. Ralf S. Engelschall rse@engelschall.com www.engelschall.com >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! ]