V3 warning PATCH to locale_facets.tcc
Jason Merrill
jason@redhat.com
Tue Dec 11 07:47:00 GMT 2001
This patchset:
2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
Philip Martin <pmartin@uklinux.net>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
(__num_base::_S_scale_oct): Add.
* src/locale.cc: Add definitions.
* testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
included a change to locale_facets.tcc which wasn't mentioned in the
ChangeLog, and which causes the compiler to suspect that __max_digits might
not always be initialized before use. That doesn't seem to actually be the
case, so I've changed the last "else if" to a plain "else".
2001-12-11 Jason Merrill <jason@redhat.com>
* include/bits/locale_facets.tcc (_M_extract_int): Avoid
uninitialized warning.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 767 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20011211/34944ef2/attachment.bin>
More information about the Libstdc++
mailing list