Hi all,

when I try and compile code with the following function

void sk_pop_free(STACK *st, void (*func)())
 {
 int i;

 if (st == NULL) return;
 for (i=0; i<st->num; i++)
  if (st->data[i] != NULL)
   func(st->data[i]);
 sk_free(st);
 }

I get the following response form visual c ++ version 6 compiller.

error C2197: 'void (__cdecl *)(void)' : too many actual parameters

How can I correct this to get it to compile.

My Compiler settings are

/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS"
/Fp"Release/pkcs5v2.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c

Thanks

Robert Fernando
Mobile +44-(0)797-097-4050
Fax     +44-(0)870-133-1992

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

Reply via email to