ios_base.h (_S_ios_fmtflags_end): Initialize correctly targets with 16bit ints.
* 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. From-SVN: r39427
This commit is contained in:
parent
4e190cf35c
commit
073197227c
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -40,7 +40,7 @@ namespace std {
|
||||
// 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)
|
||||
@ -71,7 +71,7 @@ namespace std {
|
||||
{ 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)
|
||||
@ -102,7 +102,7 @@ namespace std {
|
||||
{ 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)
|
||||
@ -132,7 +132,7 @@ namespace std {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user