Strange warning...
Hal Murray
halmurray at sonic.net
Tue Aug 26 03:48:55 UTC 2025
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-aliasing]
refid_t refid = *(const uint32_t*)rbufp->pkt.refid;
--
These are my opinions. I hate spam.
More information about the devel
mailing list