Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Warning Collapse All
Subject Author Date
Jonas Gauffin Feb 21, 2006 - 6:16 AM

Hello

Can you please do a static_cast (or #pragma warning(once: 4244)) to remove the following warning:

D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxtempl.h(1534) : warning C4244: ’argument’ : conversion from ’SIZE_T’ to ’DWORD’, possible loss of data
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxtempl.h(1252) : while compiling class-template member function ’CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::CAssoc *CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::GetAssocAt(ARG_KEY,UINT &,UINT &) const’
with
[
KEY=SIZE_T,
ARG_KEY=SIZE_T,
VALUE=CExtAlloc::_N_header_block_t *,
ARG_VALUE=CExtAlloc::_N_header_block_t *
]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xlocnum(806) : while compiling class-template member function ’CExtAlloc::_N_header_block_t &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY) ’
with
[
KEY=SIZE_T,
ARG_KEY=SIZE_T,
VALUE=CExtAlloc::_N_header_block_t *,
ARG_VALUE=CExtAlloc::_N_header_block_t *
]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(73) : while compiling class-template member function ’void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_VALUE)’
with
[
KEY=SIZE_T,
ARG_KEY=SIZE_T,
VALUE=CExtAlloc::_N_header_block_t *,
ARG_VALUE=CExtAlloc::_N_header_block_t *
]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsimpstr.h(387) : while compiling class-template member function ’CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)’
with
[
KEY=SIZE_T,
ARG_KEY=SIZE_T,
VALUE=CExtAlloc::_N_header_block_t *,
ARG_VALUE=CExtAlloc::_N_header_block_t *
]
C:\Program Files\FOSS Software Inc\Prof-UIS\Include\ExtGridWnd.h(1128) : see reference to class template instantiation ’CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>’ being compiled
with
[
KEY=SIZE_T,
ARG_KEY=SIZE_T,
VALUE=CExtAlloc::_N_header_block_t *,
ARG_VALUE=CExtAlloc::_N_header_block_t *
]

thank you,
Jonas

Technical Support Feb 21, 2006 - 11:40 AM

We have already fixed this warning. Please contact us via e-mail so we can tell you how to download the updated source code.