From 6f3fcf8a8afe1d94aab6c418ae7e5b5382665ff4 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Thu, 11 Aug 2005 21:45:24 +0000 Subject: [PATCH] told VC7 not to bother with warning 4180 --- examples/Utils/transcode.cpp | 4 ++++ test/XPath/arithmetic_test.cpp | 2 +- test/XPath/axis_enumerator_test.cpp | 2 +- test/XPath/execute_test.cpp | 2 +- test/XPath/logical_test.cpp | 2 +- test/XPath/node_test_test.cpp | 2 +- test/XPath/parse_test.cpp | 2 +- test/XPath/relational_test.cpp | 2 +- test/XPath/step_test.cpp | 2 +- test/XPath/value_test.cpp | 2 +- 10 files changed, 13 insertions(+), 9 deletions(-) diff --git a/examples/Utils/transcode.cpp b/examples/Utils/transcode.cpp index 6029fed1..889b04c8 100644 --- a/examples/Utils/transcode.cpp +++ b/examples/Utils/transcode.cpp @@ -4,6 +4,10 @@ // /////////////////////////////////// +#ifdef _MSC_VER +#pragma warning(disable: 4244) +#endif + #include #include #include diff --git a/test/XPath/arithmetic_test.cpp b/test/XPath/arithmetic_test.cpp index 03f68d76..b454c97e 100644 --- a/test/XPath/arithmetic_test.cpp +++ b/test/XPath/arithmetic_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/axis_enumerator_test.cpp b/test/XPath/axis_enumerator_test.cpp index 7639e27c..3d5ac546 100644 --- a/test/XPath/axis_enumerator_test.cpp +++ b/test/XPath/axis_enumerator_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/execute_test.cpp b/test/XPath/execute_test.cpp index 3653a2c4..f014ec31 100644 --- a/test/XPath/execute_test.cpp +++ b/test/XPath/execute_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224 4267) +#pragma warning(disable: 4786 4250 4503 4224 4267 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/logical_test.cpp b/test/XPath/logical_test.cpp index 88709225..f7844ec4 100644 --- a/test/XPath/logical_test.cpp +++ b/test/XPath/logical_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/node_test_test.cpp b/test/XPath/node_test_test.cpp index bb83a3a3..d0c3d4ba 100644 --- a/test/XPath/node_test_test.cpp +++ b/test/XPath/node_test_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/parse_test.cpp b/test/XPath/parse_test.cpp index 654d238c..15c97260 100644 --- a/test/XPath/parse_test.cpp +++ b/test/XPath/parse_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/relational_test.cpp b/test/XPath/relational_test.cpp index 2fb9556a..45f58767 100644 --- a/test/XPath/relational_test.cpp +++ b/test/XPath/relational_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/step_test.cpp b/test/XPath/step_test.cpp index 66ebfb0e..a731e3cd 100644 --- a/test/XPath/step_test.cpp +++ b/test/XPath/step_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224 4267) +#pragma warning(disable: 4786 4250 4503 4224 4267 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h" diff --git a/test/XPath/value_test.cpp b/test/XPath/value_test.cpp index 5655d105..b34f0438 100644 --- a/test/XPath/value_test.cpp +++ b/test/XPath/value_test.cpp @@ -1,5 +1,5 @@ #ifdef _MSC_VER -#pragma warning(disable: 4786 4250 4503 4224) +#pragma warning(disable: 4786 4250 4503 4224 4180) #endif #include "../CppUnit/framework/TestCase.h" #include "../CppUnit/framework/TestSuite.h"