emacs-devel
[Top][All Lists]
Advanced

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

Re: master 31544bc: Don’t convert pointer to bool


From: Stefan Monnier
Subject: Re: master 31544bc: Don’t convert pointer to bool
Date: Sat, 20 Mar 2021 10:05:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>     Without this patch, Oracle Studio 12.6 complains about converting
>     pointer to bool.

Is it right to complain or is that a bug in that tool?
To my naive intuition, it looks wrong since conversion to bool is
standard practice when doing `if (ptr) ...`.


        Stefan




reply via email to

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