Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8
  • Date: Thu, 20 May 2010 14:19:00 +0200
  • Organization: GeometryFactory

On Thursday 20 May 2010 13:21:35 JohnHans wrote:
> #define pow(x, y) wtf_pow(x, y)

By defining that macro (which conflicts with std::pow of <cmath>), you enter
in
the terrible world of "undefined behaviors" (as defined by the C++ norm). And
as
far as I can see in the error log you gave us in the first message of the
thread, you do have a bad conflict between that macro definition and <cmath>.
That is it!

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page