Expected behavior
Testing PR’s, I build from source without errors.
Actual behavior
Occasionally, I get this repeated output:
./consensus/params.h: In function ‘constexpr bool Consensus::ValidDeployment(Consensus::BuriedDeployment)’: ./consensus/params.h:26:85: warning: comparison is always true due to limited range of data type [-Wtype-limits] constexpr bool ValidDeployment(BuriedDeployment dep) { return DEPLOYMENT_HEIGHTINCB <= dep && dep <= DEPLOYMENT_SEGWIT; } ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./consensus/params.h: In function ‘constexpr bool Consensus::ValidDeployment(Consensus::DeploymentPos)’: ./consensus/params.h:34:81: warning: comparison is always true due to limited range of data type [-Wtype-limits] constexpr bool ValidDeployment(DeploymentPos dep) { return DEPLOYMENT_TESTDUMMY <= dep && dep <= DEPLOYMENT_TAPROOT; }
To reproduce
This happens sporadically, and I have not been able to figure out how to reproduce
System information
Compiling master/testing various PR’s.
Qubes 4.0.4, in a Debian-10 standalone-VM with normal networking. Intel x86_64. SSD
Nothing in debug file. Bitcoin-qt still successfully compiles and opens.