diff --git a/examples/SAX2DOM/main.cpp b/examples/SAX2DOM/main.cpp index 9c8a5fc2..34dd4414 100644 --- a/examples/SAX2DOM/main.cpp +++ b/examples/SAX2DOM/main.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include #include //#include diff --git a/examples/SAX2DOM/test_Attribute.cpp b/examples/SAX2DOM/test_Attribute.cpp index 52eed168..3874580e 100644 --- a/examples/SAX2DOM/test_Attribute.cpp +++ b/examples/SAX2DOM/test_Attribute.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_DOMImplementation.cpp b/examples/SAX2DOM/test_DOMImplementation.cpp index 78614c7f..7694d580 100644 --- a/examples/SAX2DOM/test_DOMImplementation.cpp +++ b/examples/SAX2DOM/test_DOMImplementation.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_Document.cpp b/examples/SAX2DOM/test_Document.cpp index 30318127..e6a4945d 100644 --- a/examples/SAX2DOM/test_Document.cpp +++ b/examples/SAX2DOM/test_Document.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_DocumentFragment.cpp b/examples/SAX2DOM/test_DocumentFragment.cpp index 8dba6d7a..d81ebe06 100644 --- a/examples/SAX2DOM/test_DocumentFragment.cpp +++ b/examples/SAX2DOM/test_DocumentFragment.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_DocumentType.cpp b/examples/SAX2DOM/test_DocumentType.cpp index 1982907e..e2be158f 100644 --- a/examples/SAX2DOM/test_DocumentType.cpp +++ b/examples/SAX2DOM/test_DocumentType.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_Element.cpp b/examples/SAX2DOM/test_Element.cpp index d3f1159e..6ff80463 100644 --- a/examples/SAX2DOM/test_Element.cpp +++ b/examples/SAX2DOM/test_Element.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_ProcessingInstruction.cpp b/examples/SAX2DOM/test_ProcessingInstruction.cpp index c7b3e5d2..673bbc55 100644 --- a/examples/SAX2DOM/test_ProcessingInstruction.cpp +++ b/examples/SAX2DOM/test_ProcessingInstruction.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_SAX.cpp b/examples/SAX2DOM/test_SAX.cpp index 8ee6eed8..748db150 100644 --- a/examples/SAX2DOM/test_SAX.cpp +++ b/examples/SAX2DOM/test_SAX.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h" diff --git a/examples/SAX2DOM/test_Siblings.cpp b/examples/SAX2DOM/test_Siblings.cpp index 26ed12be..2df6547e 100644 --- a/examples/SAX2DOM/test_Siblings.cpp +++ b/examples/SAX2DOM/test_Siblings.cpp @@ -1,5 +1,6 @@ - +#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) +#endif #include "CppUnit/framework/TestCase.h" #include "CppUnit/framework/TestSuite.h" #include "CppUnit/framework/TestCaller.h"