This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]