From 8852bd4828f266772bb0abd20f4ff6c52e33f7d8 Mon Sep 17 00:00:00 2001 From: "rogerl%netscape.com" Date: Fri, 9 Feb 2001 19:11:04 +0000 Subject: [PATCH] Added WIN32 warning suppression pragma. --- js2/tests/cpp/js2_shell.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js2/tests/cpp/js2_shell.cpp b/js2/tests/cpp/js2_shell.cpp index f7a632d643b..a38bc2c1e1b 100644 --- a/js2/tests/cpp/js2_shell.cpp +++ b/js2/tests/cpp/js2_shell.cpp @@ -22,6 +22,11 @@ // JS2 shell. // +#ifdef _WIN32 + // Turn off warnings about identifiers too long in browser information + #pragma warning(disable: 4786) +#endif + #if 1 #define DEBUGGER_FOO #define INTERPRET_INPUT