Re: Strange warning...

2025-08-26 Thread Gary E. Miller via devel
Yo Hal! On Mon, 25 Aug 2025 23:25:35 -0700 Hal Murray 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 a

Re: Strange warning...

2025-08-25 Thread Hal Murray via devel
> 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. Do we write this off as a glitch in an old compiler? How would we fix the code? It doesn't happen at -O1. It does happen at -O3 Why are we usi

Re: Strange warning...

2025-08-25 Thread Gary E. Miller via devel
Yo Hal! On Mon, 25 Aug 2025 20:48:55 -0700 Hal Murray via devel wrote: > Anybody understand this one? Yeah. Type Cassting is now considered suspect, if not totally bad. > That's running on a Pi 1, with -O3 > cc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516 > Raspbian GNU/Linux 9 (stretch

Strange warning...

2025-08-25 Thread Hal Murray via devel
Anybody understand this one? That's running on a Pi 1, with -O3 cc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516 Raspbian GNU/Linux 9 (stretch) 9.13 No warning with -O1 ../../ntpd/ntp_util.c:566:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasin