httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject Re: C++ compilation issue with command_rec
Date Fri, 12 Dec 2003 17:17:22 GMT
On Thu, 11 Dec 2003, Abdul Mujeer Kapadia wrote:

> "invalid conversion from `const char*(*)(cmd_parms*, void*, const char*)
> ' to `const char*(*)()'"

Yeah, C++ doesn't like that kind of cast.  Which is very annoying, but oh
well.  Not as annoying as some of the other things C++ won't let you do.

Anyway, why can't you just add an #ifdef __cplusplus block to the header
file and change the command_rec to have the correct kind of prototype for
the function pointer in question?


View raw message