On Wed, 2 Feb 2000, Robert Fernando wrote:

> when I try and compile code with the following function
> 
> void sk_pop_free(STACK *st, void (*func)())
>  {
..

> I get the following response form visual c ++ version 6 compiller.
> 
> error C2197: 'void (__cdecl *)(void)' : too many actual parameters

Looks like you compile the file as C++. Rename the file to 'file.c' or
force the cl.exe to compile it as C. Open arg-list is valid in C,
but not in C++ if I remember correctly.

Gisle V.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to