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


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


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