* 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"
//
// 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"
_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.
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
{
* 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"
* 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"
* 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"