Re: [PATCH 1/2] crypto: fix -std=c23 build failure

Denis Kenzior <[email protected]>
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
Hi Rudi,

On 11/20/24 6:40 AM, Rudi Heitbaum wrote:
> gcc-15 switched to -std=c23 by default:
> 
>      https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
> 
> As a result `iwd` fails the build as:
> 
>      ../src/crypto.c:1215:24: error: incompatible types when returning type '_Bool' but 'struct l_ecc_point *' was expected
>       1215 |                 return false;
>            |                        ^~~~~
> 
> Signed-off-by: Rudi Heitbaum <[email protected]>
> ---
>   src/crypto.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Both applied, thanks.

Regards,
-Denis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.