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
[EMAIL PROTECTED]
Research & Development
___________________________
Pulso Tecnologia
http://www.pulso.com.br
Tel/Fax: 55 (11) 3842 0141

Reply via email to