----- Original Message -----
Sent: Tuesday, November 09, 1999 6:07
PM
Subject: VC6 - conflict with
objidl.h
Hi,
I'm trying to compile some code under Visual C++
v6 and I get the following error messages:
C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\objidl.h(786) : error C2059: syntax error :
'('
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.h(786) :
error C2501: 'CRYPTO_realloc' : missing storage-class or type
specifiers
C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\objidl.h(786) : error C2059: syntax error :
')'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.h(786) :
error C2143: syntax error : missing ';' before ')'
C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.h(786) : error C2238:
unexpected token(s) preceding ';'
I found the following message in the
archive:
>On Wed, 21 Jul 1999, sch
wrote:
>> I am using VC5, I notice the header file objidl.h in
VC
>> has identifiers 'Alloc', 'Realloc' and 'Free' which
were
>> expanded as CRYPTO_** as defined in /crypto.h.
>>
This expansion is giving rise to some compile errors.
>> I think it
can give rise to more conflicts with other guys'
>> naming
convention.
>> I suggest the openSSL group should define Malloc,
Realloc..,
>> as functions, not macros.
>I also have
VC5, and was always able to compile the whole stuff without
>any
problem....
I don't know if I'm doing something wrong or if
there's really a conflict so I thought I'd ask if anyone else has faced that
problem. Do you have any suggestions as to how I can work around that problem?
Thanks in advance.
Vincent