Strange warning...

Gary E. Miller gem at rellim.com
Wed Aug 27 01:43:17 UTC 2025


Yo Hal!

On Mon, 25 Aug 2025 23:25:35 -0700
Hal Murray <halmurray at sonic.net> wrote:

> > Yeah.  Type Cassting is now considered suspect, if not totally bad.
> >  
> 
> The error message is coming from an old system so your "now" isn;t a
> good fit.

For some definition of "now".

> Do we write this off as a glitch in an old compiler?  How would we
> fix the code?

Needs to be fixed.  Just fix the cast.

> It doesn't happen at -O1.  It does happen at -O3
> Why are we using -O1?

Beats me.

> Should we make occasional runs at -O3, or others, to see if any
> compiler will find things we should fix?

Depends on the compiler.  I try various things now and then to see
what shakes out.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20250826/ee9f5991/attachment.bin>


More information about the devel mailing list