But now there are warnings with 2.6:
.src/wx/generic/persctrl.cpp: In member function 'void 
wxPListBox::RestoreSelection()':
.src/wx/generic/persctrl.cpp:1084: warning: comparison between signed and 
unsigned integer expressions
.src/wx/generic/persctrl.cpp: In member function 'void 
wxPChoice::RestoreSelection()':
.src/wx/generic/persctrl.cpp:1196: warning: comparison between signed and 
unsigned integer expressions
.src/wx/generic/persctrl.cpp: In member function 'void 
wxPRadioBox::RestoreSelection()':
.src/wx/generic/persctrl.cpp:1314: warning: comparison between signed and 
unsigned integer expressions

I assume nothing can be done about it?

Nerijus

On Sun, 09 Apr 2006 13:25:15 -0700 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:

VZ> Update of /cvsroot/mahogany/M/src/wx/generic
VZ> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30465/src/wx/generic
VZ> 
VZ> Modified Files:
VZ>     persctrl.cpp 
VZ> Log Message:
VZ> fixes signed/unsigned warnings when compiling with wx cvs HEAD
VZ> 
VZ> Index: persctrl.cpp
VZ> ===================================================================
VZ> RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v
VZ> retrieving revision 1.96
VZ> retrieving revision 1.97
VZ> diff -b -u -2 -r1.96 -r1.97
VZ> --- persctrl.cpp    6 Mar 2006 00:19:26 -0000       1.96
VZ> +++ persctrl.cpp    9 Apr 2006 20:25:09 -0000       1.97
VZ> @@ -1082,5 +1082,5 @@
VZ>          long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
VZ>  
VZ> -        if ( (sel != -1) && (sel < GetCount()) ) {
VZ> +        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
VZ>              SetSelection(sel);
VZ>  
VZ> @@ -1194,5 +1194,5 @@
VZ>          long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
VZ>  
VZ> -        if ( (sel != -1) && (sel < GetCount()) ) {
VZ> +        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
VZ>              SetSelection(sel);
VZ>  
VZ> @@ -1312,5 +1312,5 @@
VZ>          long sel = m_persist->GetConfig()->Read(m_persist->GetKey(), 0l);
VZ>  
VZ> -        if ( (sel != -1) && (sel < GetCount()) ) {
VZ> +        if ( (sel != -1) && ((size_t)sel < GetCount()) ) {
VZ>              SetSelection(sel);
VZ>  



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to