> -----Message d'origine-----
> De�: [EMAIL PROTECTED]
[mailto:owner-openssl->[EMAIL PROTECTED] De la part de Dr. Stephen Henson
>Envoy�: lundi 21 juillet 2003 13:29
>��: [EMAIL PROTECTED]
>Objet�: Re: openssl 0.9.8 with VisualStudio2003
>
>On Fri, Jul 18, 2003, rangeos wrote:
>
>>
>>
>>
>>
>> Hi,
>>
>>
>>
>> I have made a soft which work fine with
openssl-0.9.7-stable-SNAP-20030718,
>> but when I try to compile my soft using VisualStudio2003 with
>> openssl-SNAP-20030718 I get the following message :
>>
>>
>>
>> d:\Mes
>Documents\Programmation\C++\LibBGT\IncludeWin32\openssl\x509.h(312):
>> fatal error C1001: ERREUR INTERNE DU COMPILATEUR
>>
>> (fichier du compilateur 'msc1.cpp', ligne 2701)
>>
>> Choisissez la commande Support technique du menu ? (Aide) de
>Visual
>> C++
>>
>> ou ouvrez le fichier d'aide du Support technique pour plus
>> d'informations
>>
>>
>>
>> It concern the definition of X509_CERT_PAIR, is there any conflict with
>the
>> definition in wincrypt.h ?
>>
>>
>>
>> In wincrypt.h you have already :
>>
>>
>>
>> #define X509_CERT_PAIR ((LPCSTR) 53)
>>
>>
>>
>> According to the help in VisualStudio, I have diseable all optimisation
>>but
>> I get the same probleme.
>>
>There are a few clashes with other names in wincrypt.h such as X509_NAME.
>If
>you check x509.h and ossl_typ.h you'll see #undefs for some of them. I
>suggest
>you try adding another for X509_CERT_PAIR. If that works I'll commit a fix.
I have added :
#ifdef OPENSSL_SYS_WIN32
#undef X509_CERT_PAIR
#endif
just before :
typedef struct x509_cert_pair_st {
X509 *forward;
X509 *reverse;
} X509_CERT_PAIR;
and it compiles without any problem
>Steve.
>--
>Dr Stephen N. Henson.
>Core developer of the OpenSSL project: http://www.openssl.org/
>Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
>Email: [EMAIL PROTECTED], PGP key: via homepage.
>______________________________________________________________________
>OpenSSL Project http://www.openssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]