![]() |
CodeJock Internal compile warnings |
Post Reply
|
| Author | |
johnmichael
Groupie
Joined: 30 June 2009 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: CodeJock Internal compile warningsPosted: 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> |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 August 2009 at 7:25am |
|
Hi,
What Compiler you use here ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
johnmichael
Groupie
Joined: 30 June 2009 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 August 2009 at 8:38am |
|
cl.exe - visual studio 2008 + Incredibuild
|
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2009 at 8:37pm |
|
Looks strange - I only have warnigs in old png-library code (also use VS2008)
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |