Reputation:
I am using Visual studio community 2015 and I want to set up a projects with mpirxx.
Recently I' have compiled the mpirxx code to get the debug library file. In my project I have included the mpirxx.h file and linked mpirxx.lib, but when I try to compile I get 17 identical errors from mpirxx.h from multiple lines around the code.
Error C4146 : The unary operator 'minus' was applied to unsigned. The result remains unsigned.
Here's an example :
212 - __mpz_set_ui_safe(p, -static_cast<mpir_ui>(l));
Is this a know problem of the library? Should I change it? Any help is appreciated.
Upvotes: 1
Views: 354