---------- Forwarded message ----------
--- On Mon, 12/28/15, Rafael Guglielmetti <rafael.guglielme...@unifr.ch> wrote: > From: Rafael Guglielmetti <rafael.guglielme...@unifr.ch> > Subject: Compilation on Windows > To: hart...@yahoo.com > Date: Monday, December 28, 2015, 10:22 AM > Dear MPIR team, > First, thank you four the project, it will be of great help > since using > gmplib on Windows is quite complicated. > > I successfully built the lib_mpir_cxx, dll_mpir_gc projects > on Windows > with the files you give (MPIR 2.7.2). My configuration is > the following: > * Visual Studio 2013 Community > * Windows 7 x64 > * Solution file used: build.vc12\ > > However, when I tried to add the files to another project > (either my > working project or a blank project), I get a few errors > during the > compilation with the file "mpirxx.h". > The error is the following: > Error 1 error C4146: unary minus > operator applied to unsigned > type, result still unsigned (main.cpp) > C:\mpir\mpirxx.h 121 > > There is the same errors in the lines: > 167, 218, 291, 335, 343, 380, 427, 434, 462, 547, 595, 631, > 699, 744, > 786, 796 > > I don't know if some configuration in the MSVC file you give > prevent > these errors? > > Finally, I found this old build: > https://www.dropbox.com/s/dl5eufzws9govns/mpfr_mpir_x86_x64_msvc2010_001.zip > With this one, I have no error during the compilation. > > Do you have any idea where the problem comes from? > If you need any more information, please let me know. > > Thanks. > > Best, > > Rafaeel > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.