Is the attached output from using -fanalyzer useful?

Scott Kostyshak skostysh at lyx.org
Mon Apr 18 23:08:12 UTC 2022


On Mon, Apr 18, 2022 at 07:47:56PM +0200, Jean-Marc Lasgouttes wrote:
> Le 16/04/2022 à 05:40, Scott Kostyshak a écrit :
> > Using the flag -fanalyzer finds many *potential* issues about null pointers.
> > 
> > Here is the partial output from compiling with the flag:
> > 
> >    https://www.dropbox.com/s/nm4mwbm1i2p3pli/make?dl=0
> > 
> > You can search for "warning:" to see the relevant warnings.
> > 
> > Are these useful at all? I imagine Coverity is smarter?
> 
> All the warnings about "new could return null" are a bit to paranoid to me,
> but I might be wrong.

Makes sense. I'm happy to ignore these.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220418/5cf19117/attachment.asc>


More information about the lyx-devel mailing list