diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-19 18:08:18 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-19 18:08:18 +0000 |
commit | 0e84a0b5f4550ceb467afb78babecd678cd1d0c3 (patch) | |
tree | 14095eca88dc310184dc3caca02682dd3aabc49a /src/pugixpath.cpp | |
parent | 44134f448d7d96f21751c55defab6ef8a32afab8 (diff) |
Replaced _CRT_SECURE macros with #pragma to avoid warnings because of multiple macro definitions/forced includes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@526 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 17674fb..90ae9bd 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -11,11 +11,6 @@ * Copyright (C) 2003, by Kristen Wegner (kristen@tima.net)
*/
-#ifdef _MSC_VER
-# define _CRT_SECURE_NO_WARNINGS // disable deprecation warnings for CRT functions
-# define _SCL_SECURE_NO_WARNINGS // disable deprecation warnings for STL functions
-#endif
-
#include "pugixml.hpp"
#ifndef PUGIXML_NO_XPATH
@@ -42,6 +37,7 @@ typedef __int32 int32_t; #if defined(_MSC_VER)
# pragma warning(disable: 4127) // conditional expression is constant
+# pragma warning(disable: 4996) // this function or variable may be unsafe
#endif
#ifdef __SNC__
|