Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 12623 invoked by uid 500); 14 Jul 2003 15:07:55 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 12561 invoked from network); 14 Jul 2003 15:07:54 -0000 Message-ID: <00d201c34a19$98f1b100$6102a8c0@plsodsv.local> From: "Eduardo Franco" To: Subject: mod_isapi Date: Mon, 14 Jul 2003 12:07:09 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, When I was trying to compile an ISAPI extendion under linux (with gcc 2.9.6 and apache 2.4.43, using the mod_isapi) I got the following error message. I was mixing C++ with C (using extern "C" directive). /usr/src/apache/httpd-2.0.39/modules/arch/win32/mod_isapi.h:77: ISO C++ forbids declaration of `PFN_GETEXTENSIONVERSION' with no type So I proposed the following patch to be applied to the file mod_isapi.h, wich really represent the signature of the function and eliminate the error message. 77c77 < typedef (APR_THREAD_FUNC *PFN_GETEXTENSIONVERSION)(HSE_VERSION_INFO *ver_info); -- > typedef int (APR_THREAD_FUNC *PFN_GETEXTENSIONVERSION)(HSE_VERSION_INFO *ver_info); --- Eduardo Franco eduardo.franco@pulso.com.br Research & Development ___________________________ Pulso Tecnologia http://www.pulso.com.br Tel/Fax: 55 (11) 3842 0141