> If I see that sort of code without a comment, I looking for it.
Looks like I fatfingered something.
That should have been:
If I see that sort of code without a comment, I get suspicious wondering
if there might be something tricky going on and waste time looking for it.
--
These are my opi
> The other thing I forgot to mention is that sometimes the control-flow
> analysis isn't as good in older compilers, leading to complaints about
> something being used uninitialized in a case where the code couldn't
> actually be reached in the unininitialized case. Unless there's a good
> reas
On Fri, 1 Aug 2025, Hal Murray wrote:
devel@ntpsec.org said:
Usually, you won't get that type of warning unless you enable it. And
usually, you only get that type of warning in an optimized compile, since
the dataflow analysis needed to detect it is part of the optimization
code.
I tried
devel@ntpsec.org said:
> Usually, you won't get that type of warning unless you enable it. And
> usually, you only get that type of warning in an optimized compile, since
> the dataflow analysis needed to detect it is part of the optimization
> code.
I tried O3. That found a different maybe-
Thanks. I was hoping that somebody would be familiar with this area and
just recognize what was going on.
> Usually, you won't get that type of warning unless you enable it. And
> usually, you only get that type of warning in an optimized compile, since
> the dataflow analysis needed to det
On Tue, 29 Jul 2025, Hal Murray via devel wrote:
Are we missing one?
I had a typo. I was using an uninitialized variable. Modern compilers
didn't complain. Old ones did. (I don't set any compiler or loader
flags.)
What gets checked isn't a monotonic function of the compiler version.
Te
On Tue, Jul 29, 2025 at 11:22:18PM -0700, Hal Murray via devel wrote:
>
> Are we missing one?
>
> I had a typo. I was using an uninitialized variable. Modern compilers
> didn't complain. Old ones did. (I don't set any compiler or loader
> flags.)
Hi Hal,
What compiler flag did you want to
Are we missing one?
I had a typo. I was using an uninitialized variable. Modern compilers
didn't complain. Old ones did. (I don't set any compiler or loader
flags.)
--
These are my opinions. I hate spam.
___
devel mailing list
devel@ntpse