When I specify -Wall, certain strftime options generate spurious warning messages. Specifically, %D and %y generate the following warnings: warning: `%y' yields only last 2 digits of year warning: `%D' yields only last 2 digits of year
This is the documented behaviour of these options so the warning seems a little out of place. Equivalently, you should warn me that warning: sin() does not generate the cosine. These warnings should be removed or replaced with warning: GNU expects you to display four digit years -- Summary: strftime options generate spurious warnings Product: gcc Version: 3.2 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cmattair at pdq dot net CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23267