--- mstools/h/fstream.h 2018/08/09 18:21:05 1.1 +++ mstools/h/fstream.h 2018/08/09 18:22:59 1.1.1.2 @@ -1,7 +1,7 @@ /*** *fstream.h - definitions/declarations for filebuf and fstream classes * -* 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 int filedesc; class filebuf : public streambuf {