Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bug in gmp header file

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bug in gmp header file


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Bug in gmp header file
  • Date: Wed, 12 Feb 2014 19:51:44 +0100 (CET)

On Thu, 13 Feb 2014, Gopichand Paturi wrote:

I found a small bug in the header file gmp.h in line 2177.
(I have installed GMP&MPFR for using it them in CGAL)

The bug being that negative value being assigned to unsigned type, though
this a subtle error I wanted to report it.

Error: unary minus operator applied to unsigned type, result still unsigned
This is what I got when I compiled my project.

The code is right, the bug is that Microsoft gives a useless warning / error. If you want to fix something, disable that warning.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page