[Patch] fix time_get/time_put tests vs -Wextra

Paolo Carlini pcarlini@suse.de
Wed Jan 4 20:31:00 GMT 2006


Hi,

I decided to deal with the missing initializer warnings when I
understood that a fix could at the same time solve the very long
standing issue, pointed out by Martin, with the undefined order of the
struct tm members (C99, 7.23.1/4).

The below is what I tested on x86-linux: I don't think we can do much
better to fix both, but I'm all ears... 'til tomorrow morning, italian time.

Paolo.

///////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_warning_time
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060104/56b92fce/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_warning_time
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060104/56b92fce/attachment-0001.ksh>


More information about the Libstdc++ mailing list