[cpp-sp] 02/02: Add or Broaden the warning supress 4250 4251

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 6 16:57:47 UTC 2024


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=1d44bbe082a72facfeea5b505c086aa14c01b450

commit 1d44bbe082a72facfeea5b505c086aa14c01b450
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 6 16:53:10 2024 +0000

    Add or Broaden the warning supress 4250 4251
---
 shibsp/handler/RemotedHandler.h                 | 9 +++++++++
 shibsp/handler/SecuredHandler.h                 | 2 +-
 shibsp/handler/impl/AttributeCheckerHandler.cpp | 2 +-
 shibsp/handler/impl/SessionHandler.cpp          | 2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/shibsp/handler/RemotedHandler.h b/shibsp/handler/RemotedHandler.h
index 728cd4ca..a424597b 100644
--- a/shibsp/handler/RemotedHandler.h
+++ b/shibsp/handler/RemotedHandler.h
@@ -32,6 +32,11 @@
 
 #include <set>
 
+#if defined (_MSC_VER)
+#pragma warning( push )
+#pragma warning( disable : 4251 )
+#endif
+
 namespace shibsp {
 
     class SHIBSP_API HTTPRequest;
@@ -138,4 +143,8 @@ namespace shibsp {
     };
 };
 
+#if defined (_MSC_VER)
+#pragma warning( pop )
+#endif
+
 #endif /* __shibsp_remhandler_h__ */
diff --git a/shibsp/handler/SecuredHandler.h b/shibsp/handler/SecuredHandler.h
index ac2d7ec8..cdec02d4 100644
--- a/shibsp/handler/SecuredHandler.h
+++ b/shibsp/handler/SecuredHandler.h
@@ -36,7 +36,7 @@ namespace shibsp {
 
 #if defined (_MSC_VER)
     #pragma warning( push )
-    #pragma warning( disable : 4250 )
+    #pragma warning( disable : 4250 4251)
 #endif
 
     /**
diff --git a/shibsp/handler/impl/AttributeCheckerHandler.cpp b/shibsp/handler/impl/AttributeCheckerHandler.cpp
index 55e8838a..308af6dc 100644
--- a/shibsp/handler/impl/AttributeCheckerHandler.cpp
+++ b/shibsp/handler/impl/AttributeCheckerHandler.cpp
@@ -56,7 +56,7 @@ namespace shibsp {
 
 #if defined (_MSC_VER)
     #pragma warning( push )
-    #pragma warning( disable : 4250 )
+    #pragma warning( disable : 4250 4251 )
 #endif
 
     class SHIBSP_DLLLOCAL Blocker : public DOMNodeFilter
diff --git a/shibsp/handler/impl/SessionHandler.cpp b/shibsp/handler/impl/SessionHandler.cpp
index 1c06ec8f..8b11c5dd 100644
--- a/shibsp/handler/impl/SessionHandler.cpp
+++ b/shibsp/handler/impl/SessionHandler.cpp
@@ -44,7 +44,7 @@ namespace shibsp {
 
 #if defined (_MSC_VER)
     #pragma warning( push )
-    #pragma warning( disable : 4250 )
+    #pragma warning( disable : 4250 4251 )
 #endif
 
     class SHIBSP_API SessionHandler : public SecuredHandler

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list