[RFC] : Compiling libstdc++ with warnings on

Paolo Carlini pcarlini@suse.de
Fri Dec 16 19:31:00 GMT 2005


Paolo Carlini wrote:

>>Pushing on to -Wextra
>>
>>Many files in 22_locale/time_get & 22_locale/time_put like:
>>./../../../trunk/libstdc++-v3/testsuite/22_locale/time_put/put/char/1.cc:
>>In function 'void test01()':
>>../../../../trunk/libstdc++-v3/testsuite/22_locale/time_put/put/char/1.cc:35:
>>warning: missing initializer for member 'tm::tm_gmtoff'
>>../../../../trunk/libstdc++-v3/testsuite/22_locale/time_put/put/char/1.cc:35:
>>warning: missing initializer for member 'tm::tm_zone'
>>
>>>From lines like:  tm time1 = { 0, 0, 12, 4, 3, 71, 0, 93, 0 };
>>
>Same warning triggered by tr1::array, I understand.
>  
>
Sorry, now I see, it's because of additional fields besides those
mandated by the C99 standard... I guess we can live with that ;)

Paolo.



More information about the Libstdc++ mailing list