help-gsasl
[Top][All Lists]
Advanced

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

Re: Fails to build with GCC 12


From: Simon Josefsson
Subject: Re: Fails to build with GCC 12
Date: Mon, 13 Jun 2022 07:57:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Martin Liška <mliska@suse.cz> writes:

> I see the following warning/error:
>
> [   74s] printer.c: In function 'digest_md5_print_response':
> [   74s] printer.c:336:7: error: the comparison will always evaluate as 
> 'true' for the address of 'response' will never be NULL [-Werror=address]
> [   74s]   336 |   if (r->response)
> [   74s]       |       ^
> [   74s] In file included from printer.h:27,
> [   74s]                  from printer.c:28:
> [   74s] tokens.h:139:8: note: 'response' declared here
> [   74s]   139 |   char response[DIGEST_MD5_RESPONSE_LENGTH + 1];
> [   74s]       |        ^~~~~~~~
> [   74s] cc1: all warnings being treated as errors

Hi Martin, and sorry for the delay.  Thank you, I also discovered this
and fix it, and these commits should close this:

https://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=b9f127cd0896a28541988610945e5b8c188b2f93
https://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=dca5ce1093b2940166773449a76dbbdda5a9a4f7

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]