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


<<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 :-)


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