[cpp-sp] branch main updated: Add VS pragmas.

Scott Cantor cantor.2 at osu.edu
Mon Dec 2 14:40:30 UTC 2024


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

scantor 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=7eb9fcc40577b684b3b1bdf9b6729fd7cd76b10c

The following commit(s) were added to refs/heads/main by this push:
     new 7eb9fcc4 Add VS pragmas.
7eb9fcc4 is described below

commit 7eb9fcc40577b684b3b1bdf9b6729fd7cd76b10c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 2 09:40:26 2024 -0500

    Add VS pragmas.
---
 shibsp/logging/Category.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/shibsp/logging/Category.h b/shibsp/logging/Category.h
index 14646244..45d8e69c 100644
--- a/shibsp/logging/Category.h
+++ b/shibsp/logging/Category.h
@@ -29,6 +29,11 @@ namespace shibsp {
 
     class SHIBSP_API LoggingServiceSPI;
 
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
     /**
      * This is the central class in the logging API, and provides a convenience method
      * to obtain instances of the class via an installed LoggingService.
@@ -258,5 +263,9 @@ namespace shibsp {
         Priority::Value m_priority;
     };
 
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
 }
 #endif // __shibsp_logging_category_h__

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


More information about the commits mailing list