[dmd-beta] 2.066.1

Andrei Alexandrescu via dmd-beta dmd-beta at puremagic.com
Fri Oct 31 16:40:22 PDT 2014


On 10/30/14 12:12 AM, Sönke Ludwig via dmd-beta wrote:
>
> It's possible to manually set compiler flags using the DFLAGS
> environment variable:
>
> DFLAGS="-I/some/path -release -O -inline" dub build
>
> It overrides any package specific "build type" settings.

Thanks, Sönke! Next problem :o). I now get this when running "dub build 
--root=../tools/dpl-docs --compiler=../dmd/src/dmd". Please advise:

Building vibe-d 0.7.21-rc.3 configuration "libevent", build type debug.
Running ../dmd/src/dmd...
../../../.dub/packages/vibe-d-0.7.21-rc.3/source/vibe/core/drivers/libevent2.d(864): 
Warning: instead of C-style syntax, use D-style syntax 'char[64] buf'
../../../.dub/packages/vibe-d-0.7.21-rc.3/source/vibe/stream/openssl.d(59): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[64] 
m_peekBuffer'
../../../.dub/packages/vibe-d-0.7.21-rc.3/source/vibe/core/file.d(17): 
Deprecation: module std.c.stdio is deprecated - Please import 
core.stdc.stdio instead. This module will be removed in December 2015.
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(342): 
Warning: instead of C-style syntax, use D-style syntax 'BN_ULONG[2] n0'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(658): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(661): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(662): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(664): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(667): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(669): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(671): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(673): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(674): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/bn.d(675): 
Warning: instead of C-style syntax, use D-style syntax 'int[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(180): 
Warning: instead of C-style syntax, use D-style syntax 'int[5] 
required_pkey_type'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(364): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_IV_LENGTH] iv'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(375): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_IV_LENGTH] oiv'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(376): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_IV_LENGTH] iv'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(377): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_BLOCK_LENGTH] buf'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/evp.d(396): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[80] enc_data'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/x509.d(311): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SHA_DIGEST_LENGTH] sha1_hash'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/x509.d(486): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SHA_DIGEST_LENGTH] sha1_hash'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ec.d(620): 
Warning: instead of C-style syntax, use D-style syntax 
'const(EC_POINT)*[] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ec.d(620): 
Warning: instead of C-style syntax, use D-style syntax 'const(BIGNUM)*[] m'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(111): 
Warning: instead of C-style syntax, use D-style syntax 
'SHA_LONG[SHA_LBLOCK] data'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(138): 
Warning: instead of C-style syntax, use D-style syntax 'SHA_LONG[8] h'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(140): 
Warning: instead of C-style syntax, use D-style syntax 
'SHA_LONG[SHA_LBLOCK] data'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(183): 
Warning: instead of C-style syntax, use D-style syntax 'SHA_LONG64[8] h'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(186): 
Warning: instead of C-style syntax, use D-style syntax 
'SHA_LONG64[SHA_LBLOCK] d'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/sha.d(187): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SHA512_CBLOCK] p'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(457): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_KEY_ARG_LENGTH] key_arg'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(459): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_MASTER_KEY_LENGTH] master_key'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(462): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_SSL_SESSION_ID_LENGTH] session_id'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(467): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_SID_CTX_LENGTH] sid_ctx'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(471): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_KRB5_PRINCIPAL_LENGTH] krb5_client_princ'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(832): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_SID_CTX_LENGTH] sid_ctx'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(864): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[16] 
tlsext_tick_key_name'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(865): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[16] 
tlsext_tick_hmac_key'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(866): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[16] 
tlsext_tick_aes_key'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl.d(1122): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL_MAX_SID_CTX_LENGTH] sid_ctx'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl2.d(200): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL2_MAX_CHALLENGE_LENGTH] challenge'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl2.d(202): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL2_MAX_CONNECTION_ID_LENGTH] conn_id'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl2.d(204): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL2_MAX_KEY_MATERIAL_LENGTH * 2] key_material'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl2.d(216): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL2_MAX_CERT_CHALLENGE_LENGTH] ccl'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(351): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] seq_num'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(389): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] 
read_sequence'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(391): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE] read_mac_secret'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(392): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] 
write_sequence'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(394): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE] write_mac_secret'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(396): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL3_RANDOM_SIZE] server_random'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(397): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[SSL3_RANDOM_SIZE] client_random'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(414): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[2] 
alert_fragment'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(416): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[4] 
handshake_fragment'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(441): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[2] send_alert'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(461): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE * 2] cert_verify_md'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(464): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE * 2] finish_md'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(466): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE * 2] peer_finish_md'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(490): 
Warning: instead of C-style syntax, use D-style syntax 
'char[SSL3_CT_NUMBER] ctype'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(512): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE] previous_client_finished'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/ssl3.d(514): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[EVP_MAX_MD_SIZE] previous_server_finished'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/kssl.d(120): 
Warning: instead of C-style syntax, use D-style syntax 
'char[KSSL_ERR_MAX + 1] text'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/hmac.d(81): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[HMAC_MAX_MD_CBLOCK] key'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(118): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] 
max_seq_num'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(181): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[DTLS1_COOKIE_LENGTH] cookie'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(182): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[DTLS1_COOKIE_LENGTH] rcvd_cookie'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(206): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] 
last_write_sequence'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(243): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[DTLS1_AL_HEADER_LENGTH] alert_fragment'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/dtls1.d(245): 
Warning: instead of C-style syntax, use D-style syntax 
'ubyte[DTLS1_HM_HEADER_LENGTH] handshake_fragment'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/pqueue.d(72): 
Warning: instead of C-style syntax, use D-style syntax 'ubyte[8] priority'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(157): 
Warning: instead of C-style syntax, use D-style syntax 
'int[ERR_NUM_ERRORS] err_flags'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(158): 
Warning: instead of C-style syntax, use D-style syntax 
'c_ulong[ERR_NUM_ERRORS] err_buffer'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(159): 
Warning: instead of C-style syntax, use D-style syntax 
'char*[ERR_NUM_ERRORS] err_data'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(160): 
Warning: instead of C-style syntax, use D-style syntax 
'int[ERR_NUM_ERRORS] err_data_flags'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(161): 
Warning: instead of C-style syntax, use D-style syntax 
'const(char)*[ERR_NUM_ERRORS] err_file'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(162): 
Warning: instead of C-style syntax, use D-style syntax 
'int[ERR_NUM_ERRORS] err_line'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(358): 
Warning: instead of C-style syntax, use D-style syntax 
'ERR_STRING_DATA[] str'
../../../.dub/packages/openssl-1.0.0_1.0.0e/deimos/openssl/err.d(359): 
Warning: instead of C-style syntax, use D-style syntax 
'ERR_STRING_DATA[] str'
/Users/aalexandre/code/d/phobos/std/container/array.d(432): Error: 
cannot implicitly convert expression ((inout inout(Range) __ctmp3067 = 0;
  , __ctmp3067).this(this, 0LU, this.length())) of type inout(Range) to 
Range
../../../.dub/packages/vibe-d-0.7.21-rc.3/source/vibe/core/drivers/timerqueue.d(29): 
        while looking for match for BinaryHeap!(Array!(TimeoutEntry), 
"a.timeout > b.timeout")
../../../.dub/packages/vibe-d-0.7.21-rc.3/source/vibe/core/drivers/libevent2.d(75): 
Error: template instance 
vibe.core.drivers.timerqueue.TimerQueue!(TimerInfo, 10000L) error 
instantiating
FAIL 
../../../.dub/packages/vibe-d-0.7.21-rc.3/.dub/build/libevent-debug-posix.osx-x86_64-dmd_2067-86DCE9509628285A97A5E70118DEE27C/ 
vibe-d staticLibrary
Error executing command build: ../dmd/src/dmd failed with exit code 1.





More information about the dmd-beta mailing list