Some warnings I got while compiling... I understand that it might just be dummy functions, but it might be nice to define their return values
../../common/cqtmfc.cpp: In function ‘int EnumFontFamiliesExA(HDC, tagLOGFONTA, int ()(const LOGFONTA, const TEXTMETRICA, DWORD, LPARAM), LPARAM, DWORD)’:
../../common/cqtmfc.cpp:7857: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘BOOL CToolTipCtrl::AddTool(CWnd, const CHAR, const RECT, UINTPTR)’:
../../common/cqtmfc.cpp:7828: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘BOOL CToolTipCtrl::AddTool(CWnd, UINT, const RECT_, UINTPTR)’:
../../common/cqtmfc.cpp:7817: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘virtual BOOL CToolTipCtrl::Create(CWnd, DWORD)’:
../../common/cqtmfc.cpp:7799: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(HICON_)’:
../../common/cqtmfc.cpp:7602: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(CBitmap, COLORREF)’:
../../common/cqtmfc.cpp:7594: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(CBitmap, CBitmap_)’:
../../common/cqtmfc.cpp:7585: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::PulseEvent()’:
../../common/cqtmfc.cpp:7486: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::ResetEvent()’:
../../common/cqtmfc.cpp:7482: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::SetEvent()’:
../../common/cqtmfc.cpp:7478: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘HBITMAP CButton::SetBitmap(HBITMAP)’:
../../common/cqtmfc.cpp:6498: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘HICON CWinApp::LoadStandardCursor(const CHAR) const’:
../../common/cqtmfc.cpp:5775: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘virtual BOOL CDocTemplate::GetDocString(CString&, CDocTemplate::DocStringIndex) const’:
../../common/cqtmfc.cpp:5585: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘virtual LRESULT CDialogBar::SendMessageA(UINT, WPARAM, LPARAM)’:
../../common/cqtmfc.cpp:5186: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘DWORDPTR CListCtrl::GetItemData(int) const’:
../../common/cqtmfc.cpp:3418: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘int CListCtrl::GetItemCount() const’:
../../common/cqtmfc.cpp:3391: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘UINT CListCtrl::GetSelectedCount() const’:
../../common/cqtmfc.cpp:2687: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘QModelIndex CListCtrl::currentIndex() const’:
../../common/cqtmfc.cpp:2490: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In member function ‘int CDC::DrawTextA(const CString&, tagRECT, UINT)’:
../../common/cqtmfc.cpp:2038: warning: control reaches end of non-void function
../../common/cqtmfc.cpp: In function ‘int TranslateAcceleratorA(HWND__, HACCEL, tagMSG*)’:
../../common/cqtmfc.cpp:561: warning: control reaches end of non-void function
Some warnings I got while compiling... I understand that it might just be dummy functions, but it might be nice to define their return values
../../common/cqtmfc.cpp: In function ‘int EnumFontFamiliesExA(HDC, tagLOGFONTA, int ()(const LOGFONTA, const TEXTMETRICA, DWORD, LPARAM), LPARAM, DWORD)’: ../../common/cqtmfc.cpp:7857: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘BOOL CToolTipCtrl::AddTool(CWnd, const CHAR, const RECT, UINTPTR)’: ../../common/cqtmfc.cpp:7828: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘BOOL CToolTipCtrl::AddTool(CWnd, UINT, const RECT_, UINTPTR)’: ../../common/cqtmfc.cpp:7817: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘virtual BOOL CToolTipCtrl::Create(CWnd, DWORD)’: ../../common/cqtmfc.cpp:7799: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(HICON_)’: ../../common/cqtmfc.cpp:7602: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(CBitmap, COLORREF)’: ../../common/cqtmfc.cpp:7594: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘int CImageList::Add(CBitmap, CBitmap_)’: ../../common/cqtmfc.cpp:7585: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::PulseEvent()’: ../../common/cqtmfc.cpp:7486: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::ResetEvent()’: ../../common/cqtmfc.cpp:7482: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘BOOL CEvent::SetEvent()’: ../../common/cqtmfc.cpp:7478: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘HBITMAP CButton::SetBitmap(HBITMAP)’: ../../common/cqtmfc.cpp:6498: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘HICON CWinApp::LoadStandardCursor(const CHAR) const’: ../../common/cqtmfc.cpp:5775: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘virtual BOOL CDocTemplate::GetDocString(CString&, CDocTemplate::DocStringIndex) const’: ../../common/cqtmfc.cpp:5585: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘virtual LRESULT CDialogBar::SendMessageA(UINT, WPARAM, LPARAM)’: ../../common/cqtmfc.cpp:5186: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘DWORDPTR CListCtrl::GetItemData(int) const’: ../../common/cqtmfc.cpp:3418: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘int CListCtrl::GetItemCount() const’: ../../common/cqtmfc.cpp:3391: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘UINT CListCtrl::GetSelectedCount() const’: ../../common/cqtmfc.cpp:2687: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘QModelIndex CListCtrl::currentIndex() const’: ../../common/cqtmfc.cpp:2490: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In member function ‘int CDC::DrawTextA(const CString&, tagRECT, UINT)’: ../../common/cqtmfc.cpp:2038: warning: control reaches end of non-void function ../../common/cqtmfc.cpp: In function ‘int TranslateAcceleratorA(HWND__, HACCEL, tagMSG*)’: ../../common/cqtmfc.cpp:561: warning: control reaches end of non-void function