This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
warning: `%y' yields only last 2 digits of year
- From: Karel Kulhavy <clock at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 12 Mar 2002 22:54:42 +0100
- Subject: warning: `%y' yields only last 2 digits of year
Hello
Please note that warning
"warning: `%y' yields only last 2 digits of year"
is absolutely stupid and according to my opinion should be immediately removed.
It is clearly stated in manpage that %y yields only 0-99. It is not necessary
to attach random pieces of manpages into gcc's output, no matter how the
manpages are relevant to the code being compiled.
If you want to keep this idiotic warning, then please introduce
also these warnings:
"warning: '=' yields segfault when left side is NULL"
"warning: '++' yields 13 when applied on 12"
"warning: 'printf()' yields buffer overflow when arg 1 is too long"
Thank you.
--
Karel 'Clock' Kulhavy