[wx-dev] svn srting warnings

Vaclav Slavik vslavik at fastmail.fm
Sun Jul 1 05:37:06 PDT 2007


Hi,

chris elliott wrote:
> ..\..\include\wx\unichar.h(95): Warning! W389: col(39) integral
> value may be truncated during assignment or initialization
> ..\..\include\wx\unichar.h(95): Note! N393: col(39)   [ ...]
> ..\..\include\wx\unichar.h(95): Warning! W389: col(39) integral
> value may be truncated during assignment or initialization
> ..\..\include\wx\unichar.h(101): Warning! W389: col(41) integral
> value may be truncated during assignment or initialization
> ..\..\include\wx\unichar.h(101): Warning! W389: col(41) integral
> value may be truncated during assignment or initialization
> ..\..\include\wx\unichar.h(102): Warning! W389: col(50) integral
> value may be truncated during assignment or initialization
> ..\..\include\wx\unichar.h(102): Warning! W389: col(50) integral
> value may be truncated during assignment or initialization

I fixed these, thanks.

> ..\..\include\wx\strvararg.h(133): Warning! W666: col(17) assuming
> unary 'operator &' not overloaded for type 'wxString'
> ..\..\include\wx\strvararg.h(135): Warning! W666: col(31) assuming
> unary 'operator &' not overloaded for type 'wxCStrData'

The compiler assumes correctly here. I'm not sure  if we can do 
anything except silencing the warning (can Watcom do that?) here, we 
can't get full wxString declaration in this place.

> ..\..\include\wx\string.h(3013): Warning! W491: col(16) delete of a
> pointer to const data

Fixed as well.

Thanks,
Vaclav


-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20070701/3bd197f4/attachment.pgp


More information about the wx-dev mailing list