I used --enable-developer and all I got was this lousy build failure ...
Richard Sharpe
realrichardsharpe at gmail.com
Thu Aug 31 13:15:12 UTC 2023
Hi folks,
I user --enable-developer on configure and then built and got this:
--------------------
../../third_party/heimdal/lib/hcrypto/rsa-ltm.c: In function
‘ltm_rsa_public_decrypt’:
../../third_party/heimdal/lib/hcrypto/rsa-ltm.c:261:9: error: ‘size’
may be used uninitialized in this function
[-Werror=maybe-uninitialized]
size--; p++;
~~~~^~
../../third_party/heimdal/lib/hcrypto/rsa-ltm.c:262:20: error: ‘p’ may
be used uninitialized in this function [-Werror=maybe-uninitialized]
while (size && *p == 0xff) {
^~
cc1: all warnings being treated as errors
../../third_party/heimdal/lib/hcrypto/bn.c: In function ‘hc_BN_is_bit_set’:
../../third_party/heimdal/lib/hcrypto/bn.c:238:24: warning: cast
discards ‘const’ qualifier from pointer target type [-Wcast-qual]
heim_integer *hi = (heim_integer *)bn;
^
../../third_party/heimdal/lib/hcrypto/bn.c: In function ‘hc_BN_get_word’:
../../third_party/heimdal/lib/hcrypto/bn.c:309:24: warning: cast
discards ‘const’ qualifier from pointer target type [-Wcast-qual]
heim_integer *hi = (heim_integer *)bn;
-----------------
How do I fix this?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
More information about the samba-technical
mailing list