--- mstools/h/istream.h 2018/08/09 18:21:09 1.1 +++ mstools/h/istream.h 2018/08/09 18:23:04 1.1.1.2 @@ -1,7 +1,7 @@ /*** *istream.h - definitions/declarations for the istream class * -* Copyright (c) 1990-1992, Microsoft Corporation. All rights reserved. +* Copyright (c) 1990-1993, Microsoft Corporation. All rights reserved. * *Purpose: * This file defines the classes, values, macros, and functions @@ -15,12 +15,21 @@ #include +// C4069: "long double != double" +#pragma warning(disable:4069) // disable C4069 warning +// #pragma warning(default:4069) // use this to reenable, if desired + +// C4505: "unreferenced local function has been removed" +#pragma warning(disable:4505) // disable C4505 warning +// #pragma warning(default:4505) // use this to reenable, if desired + +// C4103 : "used #pragma pack to change alignment" +#pragma warning(disable:4103) // disable C4103 warning +// #pragma warning(default:4103) // use this to reenable, if desired + // Force word packing to avoid possible -Zp override #pragma pack(4) -#pragma warning(disable:4505) // disable unwanted /W4 warning -// #pragma warning(default:4505) // use this to reenable, if necessary - typedef long streamoff, streampos; @@ -49,7 +58,7 @@ public: istream& operator>>(unsigned long &); istream& operator>>(float &); istream& operator>>(double &); -// istream& operator>>(long double &); // UNDONE: + istream& operator>>(long double &); istream& operator>>(streambuf*); int get();