Hi*,
 
openssl-SNAP-20080528, debug build :
 
Building OpenSSL
        cl /Fotmp32dll.dbg\apps.obj -DMONOLITH -Iinc32 -Itmp32dll.dbg /MDd /Od 
/Zi -DDEBUG -D_DEBUG -DOPENSSL_THREADS  -DDSO_WIN32 -W3 -WX -Gs0 -GF -Gy -nologo
-DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -DOPENSSL_USE_APPLINK -I. /Fdout32dll 
-DOPENSSL_NO_R
C5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_STATIC_ENGINE  -c 
.\apps\apps.c
apps.c
apps\apps.c(1507) : error C2220: warning treated as error - no object file 
generated
apps\apps.c(1507) : warning C4090: 'initializing' : different 'const' qualifiers
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
 
C:\OpenSsl\openssl-SNAP-20080528>
 
The reason might be that
const STRING*
is not the same as
const char **
but rather
char * const *
 
Using char * instead of STRING fixes the compile error, but I'm not sure if 
this is the intended use of STRING.
Defining
typedef const char * CSTRING;
and using CSTRING instead of string in the macros seems to work fine as well.
 
Regards.
 
André Ziermann
Senior Solution Engineer

SECUDE IT Security GmbH
Goebelstrasse 21
64293 Darmstadt / Germany

Tel. : +49 (0)6151 82897 21
Fax : +49 (0)6151 82897 26
Mobile : +49 (0) 170 987 81 73
[EMAIL PROTECTED]
www.secude.com <http://www.secude.com/> 



 

Reply via email to