From: Richard Levitte Date: Mon, 9 Jan 2006 19:23:01 +0000 (+0000) Subject: Disable the Mixed Linkage warning for some selected modules. This is X-Git-Tag: OpenSSL_0_9_8k^2~1595 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=db6251ad54933af46356c6a2e49d6b2fff55d083;p=oweals%2Fopenssl.git Disable the Mixed Linkage warning for some selected modules. This is because the Compaq C compiler will not accept that a variable be declared extern then defined static without a warning. --- diff --git a/crypto/crypto-lib.com b/crypto/crypto-lib.com index b58c766691..f0a35a5dfe 100644 --- a/crypto/crypto-lib.com +++ b/crypto/crypto-lib.com @@ -278,10 +278,15 @@ $ LIB_PQUEUE = "pqueue" $! $! Setup exceptional compilations $! +$ ! Add definitions for no threads on OpenVMS 7.1 and higher $ COMPILEWITH_CC3 = ",bss_rtcp," +$ ! Disable the DOLLARID warning $ COMPILEWITH_CC4 = ",a_utctm,bss_log,o_time,o_dir" +$ ! Disable disjoint optimization $ COMPILEWITH_CC5 = ",md2_dgst,md4_dgst,md5_dgst,mdc2dgst," + - "sha_dgst,sha1dgst,rmd_dgst,bf_enc," +$ ! Disable the MIXLINKAGE warning +$ COMPILEWITH_CC6 = ",enc_read,set_key," $! $! Figure Out What Other Modules We Are To Build. $! @@ -510,7 +515,12 @@ $ IF COMPILEWITH_CC5 - FILE_NAME0 .NES. COMPILEWITH_CC5 $ THEN $ CC5/OBJECT='OBJECT_FILE' 'SOURCE_FILE' $ ELSE -$ CC/OBJECT='OBJECT_FILE' 'SOURCE_FILE' +$ IF COMPILEWITH_CC6 - FILE_NAME0 .NES. COMPILEWITH_CC6 +$ THEN +$ CC6/OBJECT='OBJECT_FILE' 'SOURCE_FILE' +$ ELSE +$ CC/OBJECT='OBJECT_FILE' 'SOURCE_FILE' +$ ENDIF $ ENDIF $ ENDIF $ ENDIF @@ -1108,6 +1118,7 @@ $ ELSE $ CC5 = CC + "/NOOPTIMIZE" $ ENDIF $ CC4 = CC - CCDISABLEWARNINGS + CC4DISABLEWARNINGS +$ CC6 = CC - CCDISABLEWARNINGS - CC6DISABLEWARNINGS $! $! Show user the result $!