🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #1975

Re: Substantive Comments Please: GCC vs. LLMV

#1975
From: Chris Ahlstrom
Date: Mon, 02 Nov 2026 19:18
36 lines
2698 bytes
Chris Ahlstrom wrote this screed in ALL-CAPS (fixed):

> Nuno Silva wrote this screed in ALL-CAPS (fixed):
>
>> On 2026-11-01, Chris Ahlstrom wrote:
>>
>>> <snip>
>>>
>> When you say "find issues" you mean merely in warning outputs or in
>> differences owing to UB, or are you using their static analyzers?
>
> Just looking at warnings.
>
> Using "ninja scan-build" just now to see what happens.

It found a few issues in a couple of my projects, a few issues
important. There is one that I don't get

   subprojects/libcfg66/src/util/filefunctions.cpp:1138:33:
   warning: Memory allocated by 'new[]' should be deallocated by 'delete[]',
   not 'getline()' [unix.MismatchedDeallocator] 

 1138 |   ssize_t count { getline(&destination, &maxim, input) };
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess I need to use malloc() instead.

-- 
Mummy dust to make me old;
To shroud my clothes, the black of night;
To age my voice, an old hag's cackle;
To whiten my hair, a scream of fright;
A blast of wind to fan my hate;
A thunderbolt to mix it well --
Now begin thy magic spell!
		-- Walter Disney, "Snow White"
Technical Details
Message-ID: <11canpv$35aju$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <18e37e973e22a7a6$1$3179723$802601b3@news.usenetexpress.com> <11c7kmg$22g7e$1@dont-email.me> <11c80ic$26et9$4@dont-email.me> <11cafc8$31pdt$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Chris Ahlstrom <OFeem1987@teleworm.us>
Newsgroups: comp.os.linux.misc
Subject: Re: Substantive Comments Please: GCC vs. LLMV
Date: Mon, 2 Nov 2026 14:18:27 -0500
Organization: None
Lines: 36
Message-ID: <11canpv$35aju$1@dont-email.me>
References: <18e37e973e22a7a6$1$3179723$802601b3@news.usenetexpress.com>
 <11c7kmg$22g7e$1@dont-email.me> <11c80ic$26et9$4@dont-email.me>
 <11cafc8$31pdt$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 02 Nov 2026 19:20:32 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3320446"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19IPuzNVVj8LJgkq6TL0vOJ"; posting-host="a55681a094a718401814e67417e6b726"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:w3aPHkve+OYqhLYChCC8doi8/R8= sha256:ur/x5YneOLLk0LPWB9OKUByMAZLccsP5NbhPvdRTv7c=
	sha1:6+SWKWXaH8B9jtjesc7kPuwunIA= sha256:pHquunVlaar1LQXhSWXOsJdlJjc6gfk2zTtMCjlnn1Y=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
 Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
 A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-Slrn: Why use anything else?
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA