[cpp-sp] 03/04: Suppress dllinterface warning.

Scott Cantor cantor.2 at osu.edu
Thu Jan 30 15:37:36 UTC 2025


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=fce0458faa07ba4c451c7487b89bff7940fca659

commit fce0458faa07ba4c451c7487b89bff7940fca659
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 30 10:35:57 2025 -0500

    Suppress dllinterface warning.
---
 shibsp/remoting/impl/AbstractHTTPRemotingService.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/shibsp/remoting/impl/AbstractHTTPRemotingService.h b/shibsp/remoting/impl/AbstractHTTPRemotingService.h
index c6a9905a..56167626 100644
--- a/shibsp/remoting/impl/AbstractHTTPRemotingService.h
+++ b/shibsp/remoting/impl/AbstractHTTPRemotingService.h
@@ -32,6 +32,11 @@ namespace shibsp {
 
     class SHIBSP_API SecretSource;
 
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
     /**
      * Base class for HTTP remoting services.
      */
@@ -110,6 +115,10 @@ namespace shibsp {
 #endif
     };
 
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
 };
 
 #endif /* __shibsp_httpremotingservice_h__ */

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


More information about the commits mailing list