warning: `%y' yields only last 2 digits of year

Tom Lord lord@emf.net
Tue Mar 12 16:00:00 GMT 2002



   From: Richard Henderson <rth@redhat.com>

   For those cases where you really REALLY know what you are
   doing, "x = (void *)(size_t)y" will not warn.


Well, I really REALLY do.  That's a nice idiom for shutting up
the warning.  Thanks.

-t



More information about the Gcc mailing list