libstdc++: Three new warnings while building the library(patchincluded)
Peter Schmid
schmid@snake.iap.physik.tu-darmstadt.de
Fri Mar 2 13:12:00 GMT 2001
I found the line that is responsible for the third warning.
Making __extracted a variable of type __size_type eliminates the
warning.
Peter Schmid
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/istream.tcc: change type of __extracted to __size_type
*** libstdc++-v3/include/bits/istream.tcc.orig Fri Mar 2 21:57:13 2001
--- libstdc++-v3/include/bits/istream.tcc Fri Mar 2 22:03:39 2001
*************** namespace std {
*** 1113,1119 ****
typedef typename __istream_type::__ctype_type __ctype_type;
typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
typedef typename __string_type::size_type __size_type;
! __int_type __extracted = 0;
typename __istream_type::sentry __cerb(__in, false);
if (__cerb)
--- 1113,1119 ----
typedef typename __istream_type::__ctype_type __ctype_type;
typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
typedef typename __string_type::size_type __size_type;
! __size_type __extracted = 0;
typename __istream_type::sentry __cerb(__in, false);
if (__cerb)
More information about the Libstdc++
mailing list