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



The following reply was made to PR bin/51282; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, paul%whooppee.com@localhost
Subject: re: bin/51282: build of libdns fails when MKCRYPTO=no
Date: Tue, 28 Jun 2016 20:48:50 +1000

 >  /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=3Dunu=
 sed-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=3Dunused-value to the
 relevant makefiles.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index