thoth> > when I try and compile code with the following function
thoth> > 
thoth> > void sk_pop_free(STACK *st, void (*func)())
thoth> 
thoth>   try void(*func)(...) or actually declare the proper call signature instead of
thoth> using "...".
thoth> 
thoth> > I get the following response form visual c ++ version 6 compiller.
thoth> > 
thoth> > error C2197: 'void (__cdecl *)(void)' : too many actual parameters

sk_pop_free() is part of OpenSSL, see the header file openssl/stack.h.

I think the real problem is that an attempt is made to compile stack.c
as a C++ file, not a C one.  What should be done is to tell the
compiler that it shouldn't use C++ semantics...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to