Warning when using gmp 64 bits in vcpkg

Cristofer Martins CristoferMartins at hotmail.com
Sun Feb 28 18:57:49 UTC 2021


The warning is as follows(MSVC) "warning C4146: unary minus operator applied to unsigned type, result still unsigned"
Line 2240 inside gmp.h code "*__gmp_rp = (- *__gmp_up) & GMP_NUMB_MASK;"
I hope its fixed since its create warnings for all files that includes gmp.h


More information about the gmp-bugs mailing list