This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [RFC] : Compiling libstdc++ with warnings on


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.


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