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]
Re: error C2197: 'void (__cdecl *)(void)' : too many actual parameters: problems compile the following code using ms visual c v6
Richard Levitte - VMS Whacker Wed, 2 Feb 2000 13:23:36 -0800
- error C2197: 'void (__cdecl *)(void)' : too ... Robert Fernando
- Re: error C2197: 'void (__cdecl *)(void... Robert Forsman
- Re: error C2197: 'void (__cdecl *)(... Richard Levitte - VMS Whacker
- Re: error C2197: 'void (__cdecl... Robert Forsman
- Re: error C2197: 'void (__cdecl *)(void... Gisle Vanem
- Re: error C2197: 'void (__cdecl *)(void... Robert Fernando
