Le mardi 29 décembre 2015 15:31:53 UTC+1, Cactus a écrit : > On 29/12/2015 12:59, 'Bill Hart' via mpir-devel wrote: > > > > ---------- Forwarded message ---------- > > > > > > --- On Mon, 12/28/15, Rafael Guglielmetti <rafael.guglielme...@unifr.ch > > <mailto:rafael.guglielme...@unifr.ch>> wrote: > > > >> From: Rafael Guglielmetti <rafael.guglielme...@unifr.ch > > <mailto:rafael.guglielme...@unifr.ch>> > >> Subject: Compilation on Windows > >> To: hart...@yahoo.com <mailto: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 would expect these to be treated as warnings rather than errors - have > you enabled the 'treat warnings as errors' compiler option in your projects? > > Brian
Nop, it is disabled. I also tried to disable all warnings but it does not solve the problem. -- 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.