]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes to build CAF with VS 2015; not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Tue, 19 Jun 2018 18:07:44 +0000 (11:07 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 19 Jun 2018 18:07:44 +0000 (11:07 -0700)
open-vm-tools/common-agent/Cpp/Framework/Framework/include/BaseDefines.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Exception/CCafException.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Memory/DynamicArray/TDynamicArray.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Common/CApplicationContext.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Integration/Core/CDocument.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Integration/Core/CIntMessage.cpp
open-vm-tools/common-agent/Cpp/Framework/Subsystems/Integration/src/CRecipientListRouterInstance.cpp

index 31cf47341cb9e4f2dd6c0cb611e4a71636e66b38..e8636a64f47b0af6da357cee4eb38a73a1470138 100644 (file)
@@ -2,7 +2,7 @@
  *      Author: mdonahue
  *  Created: Jan 12, 2011
  *
- *     Copyright (C) 2011-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *     Copyright (C) 2011-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #ifndef SYS_INC_BASEDEFINES_H_
index 11ebfb4c5782bb9fbf21f9f5c74ad0bf57c4b79f..168cdd276c8d6225ec47d3aee98e8cb218752fce 100644 (file)
@@ -2,12 +2,19 @@
  *      Author: mdonahue
  *  Created: Jan 13, 2011
  *
- *     Copyright (C) 2011-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *     Copyright (C) 2011-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #ifndef CCAFEXCEPTION_H_
 #define CCAFEXCEPTION_H_
 
+#ifdef WIN32
+/*
+ *  * Disable the 'std::basic_string<> needs to have dll-interface to be used by
+ *   * clients of class 'Caf::CCafException' warning.
+ *    */
+#pragma warning(disable : 4251)
+#endif
 
 #include "ICafObject.h"
 
index 5683bab2d0192f5fd3e35716b036d90d77c32037..941db14c9aad3e78b197acb617d4d41614766be9 100644 (file)
 //
 //  Created: Wednesday, August 07, 2002 2:27:39 PM
 //  
-//     Copyright (C) 2011-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+//     Copyright (C) 2011-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
 //     -- VMware Confidential
 //  
 //////////////////////////////////////////////////////////////////////////////
 #ifndef _TDynamicArray_H_
 #define _TDynamicArray_H_
 
+#ifdef WIN32
+#pragma warning( disable : 4244 ) //Disabling unnecessary conversion warning
+#endif
+
 #include <string.h>
 #include "Exception/CCafException.h"
 
@@ -906,7 +910,7 @@ private:
                _sentinelBits = reinterpret_cast<const uint64>(_data)
                        ^ gs_ulDynamicArraySentinelBitPattern;
 #else
-               _sentinelBits = reinterpret_cast<const uint32>(_data) ^ gs_ulDynamicArraySentinelBitPattern;
+               _sentinelBits = reinterpret_cast<const uintptr_t>(_data) ^ gs_ulDynamicArraySentinelBitPattern;
 #endif
 
                // Initialize the new buffer.
@@ -1003,7 +1007,7 @@ protected:
                        if ((_sentinelBits ^ reinterpret_cast<const uint64>(_data))
                                != gs_ulDynamicArraySentinelBitPattern)
 #else
-                               if ((_sentinelBits ^ reinterpret_cast<const uint32>(_data)) !=
+                               if ((_sentinelBits ^ reinterpret_cast<const uintptr_t>(_data)) !=
                                        gs_ulDynamicArraySentinelBitPattern)
 #endif
                                {
index bd869511f2e6d82863df45704b3a7293c5892b7e..5872e013882c5abadabea0393b56960ecaac7bf0 100644 (file)
@@ -2,11 +2,11 @@
  *      Author: bwilliams
  *  Created: Jul 2009
  *
- *     Copyright (C) 2009-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *     Copyright (C) 2009-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #include "stdafx.h"
-
+#include <iterator>
 #include "Common/IAppContext.h"
 #include "IBean.h"
 #include "Xml/XmlUtils/CXmlElement.h"
index 238a3c11a68df83c8497b50088dcba2600811fcf..74c32262d5928b719477695f5c49693c671b2d0c 100644 (file)
@@ -2,10 +2,11 @@
  *     Author: bwilliams
  *  Created: Oct 20, 2011
  *
- *     Copyright (C) 2011-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *     Copyright (C) 2011-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #include "stdafx.h"
+#include <iterator>
 
 #include "Integration/IDocument.h"
 #include "Xml/XmlUtils/CXmlElement.h"
index b784cd9e605fc90109ebdd14475153dbedd30547..f41522199b900cb89fa155302b1659ef208f3650 100644 (file)
@@ -2,10 +2,11 @@
  *      Author: bwilliams
  *  Created: Oct 22, 2010
  *
- *     Copyright (C) 2010-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *     Copyright (C) 2010-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #include "stdafx.h"
+#include <iterator>
 
 #include "ICafObject.h"
 #include "IVariant.h"
index 0f1f40815a285372b5b702385858b7aa9a8fe433..7ee64823577b0bd8e8dc4a3f60c1bed533a6834c 100644 (file)
@@ -2,10 +2,11 @@
  *  Created on: Aug 9, 2012
  *      Author: mdonahue
  *
- *  Copyright (C) 2012-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
+ *  Copyright (C) 2012-2018 VMware, Inc.  All rights reserved. -- VMware Confidential
  */
 
 #include "stdafx.h"
+#include <iterator>
 
 #include "Common/IAppContext.h"
 #include "IVariant.h"