www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SAKAI Kiyotaka <ksa...@netwk.ntt-at.co.jp>
Subject general/5363: Including ap_config.h in C++
Date Thu, 25 Nov 1999 04:35:24 GMT

>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
>Originator:     ksakai@netwk.ntt-at.co.jp
>Release:        1.3.9
SUNOS 4.1.4
When including ap_config.h in C++ program, compiling fails
because 'template' is reserved word.

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
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> 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!     ]

View raw message