[cpp-sp] branch main updated: Turn off common warning in SessionInitiator.h

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 6 16:22:03 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=fcc26c79cbe3eb1a8a1ebdd8048a217c5c48d2cd

The following commit(s) were added to refs/heads/main by this push:
     new fcc26c79 Turn off common warning in SessionInitiator.h
fcc26c79 is described below

commit fcc26c79cbe3eb1a8a1ebdd8048a217c5c48d2cd
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 6 16:20:54 2024 +0000

    Turn off common warning in SessionInitiator.h
---
 shibsp/handler/SessionInitiator.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/shibsp/handler/SessionInitiator.h b/shibsp/handler/SessionInitiator.h
index 0b093557..aee9ff4d 100644
--- a/shibsp/handler/SessionInitiator.h
+++ b/shibsp/handler/SessionInitiator.h
@@ -33,6 +33,11 @@
 #include <set>
 #include <string>
 
+#if defined (_MSC_VER)
+#pragma warning( push )
+#pragma warning( disable : 4251 )
+#endif
+
 namespace shibsp {
 
     /**
@@ -102,4 +107,9 @@ namespace shibsp {
     
 };
 
+#if defined (_MSC_VER)
+#pragma warning( pop )
+#endif
+
+
 #endif /* __shibsp_sesinitiator_h__ */

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


More information about the commits mailing list