This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning: `%y' yields only last 2 digits of year
- From: dewar at gnat dot com (Robert Dewar)
- To: lord at emf dot net, rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 12 Mar 2002 19:06:41 -0500 (EST)
- Subject: Re: warning: `%y' yields only last 2 digits of year
<<Well, I really REALLY do. That's a nice idiom for shutting up
the warning. Thanks.
>>
It's not just about shutting up the warning, if you write:
x = (void *)(size_t)y
you are clearly saying to the reader that you understand the issues and
that you know what you are doing :-)