Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] warning: "CGAL_USE_GMP" redefined
- Date: Thu, 27 Dec 2007 13:23:52 +0100
- Organization: Inria, Sophia Antipolis, FRANCE
On Tuesday 25 December 2007 13:03:58 Mahmood NT wrote:
> Why I get these warning every time I make:
> .../CGAL/config/i686_Linux-2.6_g++-3.3.3/CGAL/compiler_config.h:312:1:
> warning: "CGAL_USE_GMP" redefined VVc_demo.cpp:24:1: warning: this is the
> location of the previous definition
>
> in compiler_config I have:
> //+------------------------------------------------------------------------
>-- //| Is CGAL compiled with support for GMP?
> //+------------------------------------------------------------------------
>-- #ifndef CGAL_NO_GMP
> #define CGAL_GMP_VERSION 4.1.2
> #define CGAL_USE_GMP 1 //////// warning
> #endif // ! CGAL_NO_GMP
>
> and in VVc_demo I have:
> #ifndef CGAL_USE_GMP
>
> #define CGAL_USE_GMP //////// warning
>
> #endif
>
> Shall I remove the '#' statements in vvc_demo.cpp?
Yes. CGAL_USE_GMP is a macro used internally. You are not supposed to change
it. If you want to disable GMP, you can define CGAL_NO_GMP. You cannot enable
GMP without reinstalling CGAL, and make the install script detect your GMP
installation.
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)
- warning: "CGAL_USE_GMP" redefined, Mahmood NT, 12/25/2007
- Re: [cgal-discuss] warning: "CGAL_USE_GMP" redefined, Laurent Rineau, 12/27/2007
Archive powered by MHonArc 2.6.16.