Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - CodeJock Internal compile warnings
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CodeJock Internal compile warnings

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


Joined: 30 June 2009
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote johnmichael Quote  Post ReplyReply Direct Link To This Post Topic: CodeJock Internal compile warnings
    Posted: 27 August 2009 at 6:24am
Hello,

I'm looking for the best way to remove these warnings without disabling the specific warning code. They appear to be coming from the codejocks internal code rather than something I am doing although Im not 100% sure about this assumption.  If anyone knows how I can remove these errors without disabling them?

<warnings>

trunk\code\sdks\xt_13_1\include\common\XTPResourceManager.h(543) : warning C4266: 'CString CXTPResourceManager::LoadStringA(UINT,BOOL *)' : no override available for virtual member function from base 'CXTPResourceManager'; function is hidden
        trunk\code\sdks\xt_13_1\include\common\XTPResourceManager.h(175) : see declaration of 'CXTPResourceManager::LoadStringA'
        trunk\code\sdks\xt_13_1\include\common\XTPResourceManager.h(66) : see declaration of 'CXTPResourceManager'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxmt.h(115) : warning C4266: 'BOOL CSyncObject::Unlock(LONG,LPLONG)' : no override available for virtual member function from base 'CSyncObject'; function is hidden
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxmt.h(65) : see declaration of 'CSyncObject::Unlock'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxmt.h(49) : see declaration of 'CSyncObject'
trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabControl.h(328) : warning C4266: 'void CXTPTabManager::OnNavigateButtonClick(UINT)' : no override available for virtual member function from base 'CXTPTabManager'; function is hidden
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabManager.h(2013) : see declaration of 'CXTPTabManager::OnNavigateButtonClick'
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabManager.h(867) : see declaration of 'CXTPTabManager'
trunk\code\sdks\xt_13_1\include\controls\XTOutBarCtrl.h(1766) : warning C4266: 'BOOL CWnd::CreateEx(DWORD,LPCTSTR,LPCTSTR,DWORD,int,int,int,int,HWND,HMENU,LPVOID)' : no override available for virtual member function from base 'CWnd'; function is hidden
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2147) : see declaration of 'CWnd::CreateEx'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2089) : see declaration of 'CWnd'
trunk\code\sdks\xt_13_1\include\controls\XTPPropertyPageNavigator.h(166) : warning C4266: 'BOOL CXTPTabControl::Create(LPCTSTR,LPCTSTR,DWORD,const RECT &,CWnd *,UINT,CCreateContext *)' : no override available for virtual member function from base 'CXTPTabControl'; function is hidden
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabControl.h(316) : see declaration of 'CXTPTabControl::Create'
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabControl.h(44) : see declaration of 'CXTPTabControl'
trunk\code\sdks\xt_13_1\include\controls\XTPPropertyPageNavigator.h(235) : warning C4266: 'BOOL CWnd::Create(LPCTSTR,LPCTSTR,DWORD,const RECT &,CWnd *,UINT,CCreateContext *)' : no override available for virtual member function from base 'CWnd'; function is hidden
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2140) : see declaration of 'CWnd::Create'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2089) : see declaration of 'CWnd'
trunk\code\sdks\xt_13_1\include\controls\XTPPropertyPageNavigator.h(235) : warning C4266: 'BOOL CListBox::Create(DWORD,const RECT &,CWnd *,UINT)' : no override available for virtual member function from base 'CListBox'; function is hidden
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(3310) : see declaration of 'CListBox::Create'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(3303) : see declaration of 'CListBox'
trunk\code\sdks\xt_13_1\include\controls\XTPPropertyPageNavigator.h(276) : warning C4266: 'BOOL CWnd::Create(LPCTSTR,LPCTSTR,DWORD,const RECT &,CWnd *,UINT,CCreateContext *)' : no override available for virtual member function from base 'CWnd'; function is hidden
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2140) : see declaration of 'CWnd::Create'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2089) : see declaration of 'CWnd'
trunk\code\sdks\xt_13_1\include\commandbars\XTPTabClientWnd.h(476) : warning C4266: 'void CXTPTabManager::OnNavigateButtonClick(UINT)' : no override available for virtual member function from base 'CXTPTabManager'; function is hidden
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabManager.h(2013) : see declaration of 'CXTPTabManager::OnNavigateButtonClick'
        trunk\code\sdks\xt_13_1\include\tabmanager\XTPTabManager.h(867) : see declaration of 'CXTPTabManager'
trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(1182) : warning C4266: 'void CXTPDockingPanePaintManager::AdjustCaptionRect(const CXTPDockingPaneSidePanel *,CRect &)' : no override available for virtual member function from base 'CXTPDockingPanePaintManager'; function is hidden
        trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(404) : see declaration of 'CXTPDockingPanePaintManager::AdjustCaptionRect'
        trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(295) : see declaration of 'CXTPDockingPanePaintManager'
trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(1423) : warning C4266: 'void CXTPDockingPanePaintManager::AdjustClientRect(CXTPDockingPaneSidePanel *,CRect &)' : no override available for virtual member function from base 'CXTPDockingPanePaintManager'; function is hidden
        trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(393) : see declaration of 'CXTPDockingPanePaintManager::AdjustClientRect'
        trunk\code\sdks\xt_13_1\include\dockingpane\XTPDockingPanePaintManager.h(295) : see declaration of 'CXTPDockingPanePaintManager'
trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarThemeOffice2007.h(340) : warning C4266: 'void CXTPCalendarThemePart::Draw(CCmdTarget *,CDC *)' : no override available for virtual member function from base 'CXTPCalendarThemePart'; function is hidden
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(236) : see declaration of 'CXTPCalendarThemePart::Draw'
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(216) : see declaration of 'CXTPCalendarThemePart'
trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarThemeOffice2007.h(429) : warning C4266: 'void CXTPCalendarThemePart::Draw(CCmdTarget *,CDC *)' : no override available for virtual member function from base 'CXTPCalendarThemePart'; function is hidden
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(236) : see declaration of 'CXTPCalendarThemePart::Draw'
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(216) : see declaration of 'CXTPCalendarThemePart'
trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarThemeOffice2007.h(587) : warning C4266: 'void CXTPCalendarThemePart::Draw(CCmdTarget *,CDC *)' : no override available for virtual member function from base 'CXTPCalendarThemePart'; function is hidden
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(236) : see declaration of 'CXTPCalendarThemePart::Draw'
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(216) : see declaration of 'CXTPCalendarThemePart'
trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarThemeOffice2007.h(674) : warning C4266: 'void CXTPCalendarTheme::CTOWeekView::Draw(CDC *)' : no override available for virtual member function from base 'CXTPCalendarTheme::CTOWeekView'; function is hidden
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(1023) : see declaration of 'CXTPCalendarTheme::CTOWeekView::Draw'
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(1019) : see declaration of 'CXTPCalendarTheme::CTOWeekView'
trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarThemeOffice2007.h(824) : warning C4266: 'void CXTPCalendarTheme::RefreshMetrics(void)' : no override available for virtual member function from base 'CXTPCalendarTheme'; function is hidden
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(1099) : see declaration of 'CXTPCalendarTheme::RefreshMetrics'
        trunk\code\sdks\xt_13_1\include\calendar\XTPCalendarTheme.h(335) : see declaration of 'CXTPCalendarTheme'

</warnings>

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: 27 August 2009 at 7:25am
Hi,
 
What Compiler you use here ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
johnmichael View Drop Down
Groupie
Groupie


Joined: 30 June 2009
Location: United Kingdom
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote johnmichael Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2009 at 8:38am
cl.exe  -  visual studio 2008  + Incredibuild
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2009 at 8:37pm
Looks strange - I only have warnigs in old png-library code (also use VS2008)
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: 16 September 2009 at 5:12am
These warnings look like one that Intell compiler can generate. Are you sure you don't use it ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.172 seconds.