Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 2006 Q2 Warnings
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

2006 Q2 Warnings

 Post Reply Post Reply
Author
Message
Italo View Drop Down
Groupie
Groupie


Joined: 10 December 2003
Location: United States
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote Italo Quote  Post ReplyReply Direct Link To This Post Topic: 2006 Q2 Warnings
    Posted: 03 June 2006 at 2:45pm

I have a project that used to compile without any warnings using XTP 2006 Q1. I'm getting the following warinings with 2006 Q2. Can this please be fixed ASAP?

Thanks
Italo


------ Build started: Project: NtnCore, Configuration: Debug Win32 ------
Compiling...
stdafx.cpp
Automatically linking with ToolkitPro1020vc80D.dll
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
Compiling...
NtnCore.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnException.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnFunctions.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnIndentedTextWriter.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnMemoryStream.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnStream.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
BalloonHelp.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
Crc32Static.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
OleDateTimeEx.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
NtnXmlFunctions.cpp
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1547) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'UINT', possible loss of data
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1546) : 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=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1599) : while compiling class template member function 'CXTPCalendarController::CXTPDayInfoCache &CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::operator [](ARG_KEY)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1358) : while compiling class template member function 'void CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::SetAt(ARG_KEY,ARG_V ALUE)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(1482) : while compiling class template member function 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>::~CMap(void)'
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
        c:\program files\codejock software\mfc\xtreme toolkitpro 2006 q2\source\calendar\xtpcalendarcontroller.h(424) : see reference to class template instantiation 'CMap<KEY,ARG_KEY,VALUE,ARG_VALUE>' being compiled
        with
        [
             KEY=UINT_PTR,
             ARG_KEY=UINT_PTR,
             VALUE=CXTPCalendarController::CXTPDayInfoCache *,
             ARG_VALUE=CXTPCalendarController::CXTPDayInfoCache *
        ]
Generating Code...
Compiling resources...
Compiling manifest to resources...
Linking...
LINK : ../Bin/Debug/NtnCore.dll not found or not built by the last incremental link; performing full link
   Creating library ../Bin/Debug/NtnCore.lib and object ../Bin/Debug/NtnCore.exp
Embedding manifest...
Build log was saved at "file://c:\Projects\Notion\GUI\NtnCore\Debug\BuildLog.htm"
NtnCore - 0 error(s), 11 warning(s)

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2006 at 11:10pm

hi,

Kind of strange, because I can't reproduce it with warning 4.

Can you help with it? I need your Visual Studio version and your afxtempl.h fle. Can you attach it here?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Italo View Drop Down
Groupie
Groupie


Joined: 10 December 2003
Location: United States
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote Italo Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 12:00am

I'm using VS 2005. The requested file is attached.

2006-06-04_000013_afxtempl.zip

VS Information:

Microsoft Visual Studio 2005
Version 8.0.50727.42  (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Enterprise

Microsoft Visual Basic 2005   77642-113-3000004-41353
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77642-113-3000004-41353
Microsoft Visual C# 2005

Microsoft Visual C++ 2005   77642-113-3000004-41353
Microsoft Visual C++ 2005

Microsoft Visual J# 2005   77642-113-3000004-41353
Microsoft Visual J# 2005

Microsoft Visual Studio Tools for Office   77642-113-3000004-41353
Microsoft Visual Studio Tools for the Microsoft Office System

Microsoft Visual Web Developer 2005   77642-113-3000004-41353
Microsoft Visual Web Developer 2005

Visual Studio 2005 Team Edition for Developers   77642-113-3000004-41353
Microsoft Visual Studio 2005 Team Edition for Software Developers

Refactor! for Visual Studio   1.0
Refactor! for Visual Studio 2005.

SQL Server Analysis Services  
Microsoft SQL Server Analysis Services Designer
Version 9.00.1399.00

SQL Server Integration Services  
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00

Visual Assist X  
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. For customer support, email Support@WholeTomato.com. Copyright (c) 1997-2004 Whole Tomato Software,  Inc.

 

PS. I'm also getting warnings while compiling some of the examples.

Back to Top
Marcus View Drop Down
Groupie
Groupie


Joined: 04 June 2006
Location: Germany
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marcus Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 6:09am
I get the same, it's a /Wp64 compiler warning.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 9:05am

Reproduced with DatePicker sample :(

Add this code before you include toolkit pro:

 

template<>

AFX_INLINE UINT HashKey<UINT_PTR>(UINT_PTR key)

{

return (DWORD)(((DWORD_PTR)key)>>4);

}

to avoid this warning.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Italo View Drop Down
Groupie
Groupie


Joined: 10 December 2003
Location: United States
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote Italo Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 11:35am

Will you fix XTP to prevent these warnings in the next release?

 

Thanks

Italo

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 8:31pm

Hi,

of course,

 it is just temporary solution to avoid this warning....

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kevin6 View Drop Down
Groupie
Groupie


Joined: 13 May 2005
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kevin6 Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 12:52am
Hi Oleg,
 
I have the same problem. I have cut your code posted above and pasted it to stdafx.h just above the #include for <XTToolKitPro.h> - The compiler now reports a missing ; on the AFX_INLINE line.
 
Am I missing something obvious? - Or have I missed the point about what I need to do completly!
 
Regards,
Kevin.
Kevin.
Back to Top
Kevin6 View Drop Down
Groupie
Groupie


Joined: 13 May 2005
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kevin6 Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 12:58am

Should also have mentioned, I am using VS 2003 - If this makes a difference.

 
Regards,
Kevin.
Kevin.
Back to Top
Warren View Drop Down
Groupie
Groupie
Avatar

Joined: 23 February 2005
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Warren Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 10:12am
I'm using 2003, and I had the same issue.

I just surrounded the
#include <XTToolkitPro.h>
with some code to get rid of the warning, and a #error to make sure I remove the code when I upgrade to the next version of the toolkit. Here is my code...

#pragma warning( push )
#pragma warning( disable : 4244 )
#include <XTToolkitPro.h>
#pragma warning( pop )

#if (_XTPLIB_VERSION_PREFIX!=1020)
#error remove this warning disable code 4244
#endif

Warren
Back to Top
Kevin6 View Drop Down
Groupie
Groupie


Joined: 13 May 2005
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kevin6 Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2006 at 4:55am
Thanks Warren, this has done the trick!
 
(Also the reminder is a nice touch!)
 
Regards,
Kevin.
Kevin.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.