ACE_TAO
ACE_TAO copied to clipboard
[ace6tao2] Comparison warning in CDR_Base.cpp
Warning in ACE using bcc32 on ace6tao2 branch, introduced by https://github.com/DOCGroup/ACE_TAO/pull/2196
.\CDR_Base.cpp:
Warning W8012 .\CDR_Base.cpp 938: Comparing signed and unsigned values in function ACE_CDR::Fixed::from_string(const char *)
Both sides of the comparison are unsigned. Is there a CI build that shows the warning - or could one be added?
Working on new CI builds, need to create first a base line. Are they different sizes, if so, one could be promoted to signed before the comparison
See https://download.remedy.nl/buildlogs/win_cbxe15_bcc32_acetao_debug/
It's size_t
and an unsigned char
. Why would a compiler change the signedness (apparently that's a real word) of a value and then complain about it?