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

Karel Kulhavy clock@atrey.karlin.mff.cuni.cz
Tue Mar 12 12:58:00 GMT 2002


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



More information about the Gcc mailing list