lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Build warnings for pre-wx-2.9.5


From: Greg Chicares
Subject: [lmi] Build warnings for pre-wx-2.9.5
Date: Fri, 12 Jul 2013 13:05:34 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Building 'wxWidgets-2013-07-11.tar.gz' with gcc-3.4.5, I get about
three hundred lines of warnings, almost all of which occur in
'../src/stc/'; here's a representative sample:

../src/stc/scintilla/src/CallTip.cxx:114: warning: converting to `int' from 
`XYPOSITION'
../src/stc/scintilla/src/CallTip.cxx:231: warning: passing `XYPOSITION' for 
converting 2 of `virtual void Surface::MoveTo(int, int)'
../src/stc/scintilla/src/Indicator.cxx:23: warning: converting to `int' from 
`float'
../src/stc/scintilla/src/Indicator.cxx:25: warning: passing `const XYPOSITION' 
for converting 1 of `virtual void Surface::MoveTo(int, int)'

Here are all the warnings that occur outside '../src/stc/',
quoted in full because they are few and there's little
duplication:

../src/msw/uiaction.cpp: In member function `bool 
wxUIActionSimulator::MouseMove(long int, long int)':
../src/msw/uiaction.cpp:68: warning: converting to `int' from `double'
../src/msw/uiaction.cpp:69: warning: converting to `int' from `double'
../src/msw/listctrl.cpp: In member function `wxSize 
wxListCtrl::MSWGetBestViewRect(int, int) const':
../src/msw/listctrl.cpp:1342: warning: passing negative value `-0x000000001' 
for converting 3 of `LRESULT SendMessageW(HWND__*, UINT, WPARAM, LPARAM)'
../src/msw/spinctrl.cpp: In member function `virtual wxSize 
wxSpinCtrl::DoGetSizeFromTextSize(int, int) const':
../src/msw/spinctrl.cpp:735: warning: passing `double' for converting 1 of 
`wxSize::wxSize(int, int)'
../src/common/docview.cpp: In member function `virtual wxDocument* 
wxDocManager::CreateDocument(const wxString&, long int)':
../src/common/docview.cpp:1504: warning: 'docNew' might be used uninitialized 
in this function
../src/generic/spinctlg.cpp: In member function `virtual wxSize 
wxSpinCtrlGenericBase::DoGetSizeFromTextSize(int, int) const':
../src/generic/spinctlg.cpp:287: warning: passing `double' for converting 1 of 
`void wxSize::IncBy(int, int)'
../src/generic/richtooltipg.cpp:352: warning: unused parameter 'tipKind'
In file included from ../src/msw/webview_ie.cpp:17:
../include/wx/msw/webview_ie.h:213: warning: `class VirtualProtocol' has 
virtual functions but non-virtual destructor
../include/wx/msw/webview_ie.h:256: warning: `class ClassFactory' has virtual 
functions but non-virtual destructor
../include/wx/msw/webview_ie.h:286: warning: `class DocHostUIHandler' has 
virtual functions but non-virtual destructor
In file included from ../src/common/webview.cpp:26:
../include/wx/msw/webview_ie.h:213: warning: `class VirtualProtocol' has 
virtual functions but non-virtual destructor
../include/wx/msw/webview_ie.h:256: warning: `class ClassFactory' has virtual 
functions but non-virtual destructor
../include/wx/msw/webview_ie.h:286: warning: `class DocHostUIHandler' has 
virtual functions but non-virtual destructor
../src/msw/webview_ie.cpp: In member function `virtual long int 
wxWebViewIE::Find(const wxString&, int)':
../src/msw/webview_ie.cpp:675: warning: converting of negative value 
`-0x000000001' to `unsigned int'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]