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?

--Cliff

Reply via email to