From 23f7532a9ffb4476b4f9f2fb1d4debf2145b41a9 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 6 Feb 2003 17:16:06 +0000 Subject: [PATCH] Disabled some watnings. [SVN r17255] --- test/smart_ptr_test.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/smart_ptr_test.cpp b/test/smart_ptr_test.cpp index 0dad8e9..26924f0 100644 --- a/test/smart_ptr_test.cpp +++ b/test/smart_ptr_test.cpp @@ -1,3 +1,14 @@ +#if defined(_MSC_VER) && !defined(__ICL) && !defined(__COMO__) +# pragma warning(disable: 4786) // identifier truncated in debug info +# pragma warning(disable: 4710) // function not inlined +# pragma warning(disable: 4711) // function selected for automatic inline expansion +# pragma warning(disable: 4514) // unreferenced inline removed +#endif + +#ifdef __BORLANDC__ +# pragma warn -8092 // template argument passed to 'find' is not an iterator +#endif + // smart pointer test program ----------------------------------------------// // (C) Copyright Beman Dawes 1998, 1999. Permission to copy, use, modify, sell