[cpp-xmltooling] 01/02: Suppress compiler warning.
Scott Cantor
cantor.2 at osu.edu
Mon Mar 26 13:32:58 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=a242d3f820f723f46225502de4814273c13ee118
commit a242d3f820f723f46225502de4814273c13ee118
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 26 13:31:29 2018 -0400
Suppress compiler warning.
---
xmltooling/util/PathResolver.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/xmltooling/util/PathResolver.h b/xmltooling/util/PathResolver.h
index 3bfb07e..9b37795 100644
--- a/xmltooling/util/PathResolver.h
+++ b/xmltooling/util/PathResolver.h
@@ -32,6 +32,12 @@
#include <string>
namespace xmltooling {
+
+#if defined (_MSC_VER)
+# pragma warning( push )
+# pragma warning( disable : 4251 )
+#endif
+
/**
* Resolves local filenames into absolute pathnames.
*/
@@ -131,6 +137,10 @@ namespace xmltooling {
std::string m_defaultPackage,m_defaultPrefix,m_lib,m_log,m_xml,m_run,m_cfg,m_cache;
};
+
+#if defined (_MSC_VER)
+# pragma warning( pop )
+#endif
};
#endif /* __xmltooling_pathres_h__ */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list