--- mstools/h/ostream.h 2018/08/09 18:21:11 1.1.1.1 +++ mstools/h/ostream.h 2018/08/09 18:23:07 1.1.1.2 @@ -1,7 +1,7 @@ /*** *ostream.h - definitions/declarations for the ostream class * -* Copyright (c) 1991-1992, Microsoft Corporation. All rights reserved. +* Copyright (c) 1991-1993, Microsoft Corporation. All rights reserved. * *Purpose: * This file defines the classes, values, macros, and functions @@ -15,12 +15,17 @@ #include +// 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; class ostream : virtual public ios { @@ -49,7 +54,7 @@ inline ostream& operator<<(signed char); ostream& operator<<(unsigned long); inline ostream& operator<<(float); ostream& operator<<(double); -// ostream& operator<<(long double); // UNDONE: + ostream& operator<<(long double); ostream& operator<<(const void *); ostream& operator<<(streambuf*); inline ostream& put(char);