From ce6846ffa8c548145a4c015ddfa92d915c06d7d8 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Mon, 16 Feb 2009 14:57:54 +0000 Subject: [PATCH] Mps br/timing zcoll.c: (fix compiler warning for w3i3m9) vc9 warns that sscanf is unsafe; disable this warning for zcoll.c. see also job001934. Copied from Perforce Change: 167379 ServerID: perforce.ravenbrook.com --- mps/code/zcoll.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mps/code/zcoll.c b/mps/code/zcoll.c index 4c96616134d..b1418f7ced6 100644 --- a/mps/code/zcoll.c +++ b/mps/code/zcoll.c @@ -67,6 +67,13 @@ #include /* clock */ +#ifdef MPS_BUILD_MV +/* MSVC warning 4996 = stdio / C runtime 'unsafe' */ +/* Objects to: sscanf. See job001934. */ +#pragma warning( disable : 4996 ) +#endif + + /* testChain -- generation parameters for the test */ #define genCOUNT 2 static mps_gen_param_s testChain[genCOUNT] = {