NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: bin/51282: build of libdns fails when MKCRYPTO=no



>  /build/netbsd-local/src/external/bsd/ntp/dist/libntp/a_md5encrypt.c: In function 'MD5authencrypt':
>  /build/netbsd-local/src/external/bsd/ntp/dist/include/ntp_md5.h:32:44: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
>    # define EVP_DigestInit(c, dt)  (MD5Init(c), 1)
>                                               ^
>  /build/netbsd-local/src/external/bsd/ntp/dist/libntp/a_md5encrypt.c:46:2: note:in expansion of macro 'EVP_DigestInit'
>     EVP_DigestInit(&ctx, EVP_get_digestbynid(type));
>     ^

i dislike this warning case.  i would add -Wno-error=unused-value to the
relevant makefiles.


.mrg.


Home | Main Index | Thread Index | Old Index