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

Robert Dewar dewar@gnat.com
Tue Mar 12 13:47:00 GMT 2002


<<You can use -Wno-format-y2k to disable this warning.  I hope the name
of the option will help to explain why the warning exists.
>>

What a silly warning, and what an even sillier option. I sure agree with
Karel on this one, to whom could such a warning possibly be useful?



More information about the Gcc mailing list