Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Possible issue with propgrid?

(1/1)

MortenMacFly:
I don't know when this started bbut doing a C::B rebuild from scratch showed this warning as of today:

--- Code: ---sdk\propgrid\src\propgrid\propgrid.cpp:6804: warning: comparison is always false due to limited range of data type

--- End code ---
I wonder whether this is an issue that should be taken care of. Looking at the appropriate code leads me to think it might be an unicode issue, but I am not sure. I am using C::B revision 1749 on Windows with wxWidgets 2.6.2 (unicode).
Morten.

killerbot:
The warning is already present for some time.
In the comparison a cast to int should be done. In unicode wxChar is apparently unsigned, and int ansi it is not, so in ansi this test is needed.

Someone needs to add that cast, please (devs ???)

Navigation

[0] Message Index

Go to full version