warning: `%y' yields only last 2 digits of year
Andrew Pinski
pinskia@physics.uc.edu
Tue Mar 12 13:06:00 GMT 2002
This is here because of the y2k bug.
The warnings you mention do not happen all the time while this one does.
Thanks,
Andrew Pinski
On Tuesday, March 12, 2002, at 04:54 , Karel Kulhavy wrote:
> 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