Suppress dll-interface warnings.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Wed, 5 May 2010 21:01:04 +0000 (21:01 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Wed, 5 May 2010 21:01:04 +0000 (21:01 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/branches/REL_2@551 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

saml/binding/ArtifactMap.h
saml/binding/SAMLArtifact.h
saml/saml2/profile/BrowserSSOProfileValidator.h

index 37e6e22..238cacb 100644 (file)
@@ -38,6 +38,11 @@ namespace opensaml {
     class SAML_API SAMLArtifact;
     class SAML_DLLLOCAL ArtifactMappings;
     
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
     /**
      * Helper class for SAMLArtifact mapping and retrieval.
      */
@@ -104,6 +109,11 @@ namespace opensaml {
         ArtifactMappings* m_mappings;
         unsigned int m_artifactTTL;
     };
+
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
 };
 
 #endif /* __saml_artmap_h__ */
index f97926b..c7e5e9b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2009 Internet2
+ *  Copyright 2001-2010 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 namespace opensaml {
 
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
     /**
      * Base class for SAML 1.x and 2.0 artifacts.
      */
@@ -138,6 +143,10 @@ namespace opensaml {
         std::string m_raw;
     };
 
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
     DECL_XMLTOOLING_EXCEPTION(ArtifactException,SAML_EXCEPTIONAPI(SAML_API),opensaml,xmltooling::XMLToolingException,Exceptions related to artifact parsing);
     
     /**
index 67b85b9..61bdac2 100644 (file)
 namespace opensaml {
     namespace saml2 {
 
+#if defined (_MSC_VER)
+    #pragma warning( push )
+    #pragma warning( disable : 4251 )
+#endif
+
         /**
          * @deprecated
          * SAML 2.0 Browser SSO Profile Assertion Validator
@@ -80,6 +85,10 @@ namespace opensaml {
             mutable std::string m_address;
         };
 
+#if defined (_MSC_VER)
+    #pragma warning( pop )
+#endif
+
     };
 };