>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: >Originator: [EMAIL PROTECTED] >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: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> 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! ]