More Build Errors: after 2.01 RSA includes: PKCSMAIN.C
"John Wiley" <[email protected]> Thu, 12 Nov 1998 18:43:02 -0500
| Newsgroups | gmane.ietf.pfl |
|---|---|
| Message-ID | <[email protected]> |
Mary was right about carefully selecting the 2.01 version of the RSA includes. I resolved the earlier errors and found a strange and wonderful new one...
I can't believe I'm the only one who has run into the following:
Compiling...
pkcsmain.c
d:\jonah\src\vsc\pkcs11f.h(20) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(30) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(39) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(49) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(63) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(74) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(85) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(97) : error C2091: function returns function
d:\jonah\src\vsc\pkcs11f.h(109) : error C2091: function returns function....
It stops after 100 errors. All from the same include file. I am not familiar with the type of function call referenced in the pkcs11f.h file that is causing the error.
Example of error:
/* C_Initialize initializes the Cryptoki library. */
CK_PKCS11_FUNCTION_INFO(C_Initialize)
#ifdef CK_NEED_ARG_LIST
(
CK_VOID_PTR pInitArgs /* if this is not NULL_PTR, it gets
* cast to CK_C_INITIALIZE_ARGS_PTR
* and dereferenced */
); <----error line
#endif
A function call to CK_PKCS11_FUNCTION_INFO passing paramter (C_Initialize)
followed conditionally by another input parameter?
VC++ does not buy it. Running VC++ V6.0, enterprise edition. Recent install.
Am I missing something?
Regards,
John Wiley
p.s. I isolated PKCSMAIN.C and recompiled for illustration. The BUILD gave me the exact same errors. No re-invention of process.