+Fri Feb 2 15:47:51 2001 Jeffrey A Law (law@cygnus.com)
+
+ * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
+ correctly targets with 16bit ints.
+ (_S_ios_openmode_end): Similarly.
+ (_S_ios_iostate_end): Similarly.
+ (_S_ios_Seekdir_end): Similarly.
+
2001-02-02 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
// as permitted (but not required) in the standard, in order to provide
// better type safety in iostream calls. A side effect is that
// expressions involving them are no longer compile-time constants.
- enum _Ios_Fmtflags { _M_ios_fmtflags_end = 1 << 16 };
+ enum _Ios_Fmtflags { _M_ios_fmtflags_end = 1L << 16 };
inline _Ios_Fmtflags
operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
{ return _Ios_Fmtflags(~static_cast<int>(__a)); }
- enum _Ios_Openmode { _M_ios_openmode_end = 1 << 16 };
+ enum _Ios_Openmode { _M_ios_openmode_end = 1L << 16 };
inline _Ios_Openmode
operator&(_Ios_Openmode __a, _Ios_Openmode __b)
{ return _Ios_Openmode(~static_cast<int>(__a)); }
- enum _Ios_Iostate { _M_ios_iostate_end = 1 << 16 };
+ enum _Ios_Iostate { _M_ios_iostate_end = 1L << 16 };
inline _Ios_Iostate
operator&(_Ios_Iostate __a, _Ios_Iostate __b)
operator~(_Ios_Iostate __a)
{ return _Ios_Iostate(~static_cast<int>(__a)); }
- enum _Ios_Seekdir { _M_ios_seekdir_end = 1 << 16 };
+ enum _Ios_Seekdir { _M_ios_seekdir_end = 1L << 16 };
// 27.4.2 Class ios_base
class ios_base