A little warning in GMP.h
brg at gladman.plus.com
Wed Sep 22 21:10:02 CEST 2004
Francesco Montorsi wrote:
> I'm using GMP with various win32 compilers and I've found that most of them report a warning like this about gmp.h:
> c:\gmp\gmp.h(1599) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Since this warning is numbered 4146 on the Microsoft VC++ compiler, I am
guessing that you might be using this.
If so you may wish to know that this warning can be easily turned off by
# pragma warning( disable : 4146 )
at an appropriate point in your code.
More information about the gmp-discuss