Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] compilation error in CGAL 4.7 beta 1 in VC2015 on x64 Platform:

Subject: CGAL users discussion list

List archive

[cgal-discuss] compilation error in CGAL 4.7 beta 1 in VC2015 on x64 Platform:


Chronological Thread 
  • From: Sergey Stepanov <>
  • To:
  • Subject: [cgal-discuss] compilation error in CGAL 4.7 beta 1 in VC2015 on x64 Platform:
  • Date: Fri, 21 Aug 2015 07:18:48 -0700 (PDT)

Hello, Everyone

I have compilation error in CGAL 4.7 beta 1 in VC2015 on x64 Platform:

------ Build started: Project: CGAL, Configuration: Debug x64 ------
all_files.cpp
cgal\include\CGAL/GMP/Gmpzf_type.h(403): error C2664: '__gmpz_get_d_2exp' :
cannot convert parameter 1 from 'CGAL::Gmpzf::Exponent *' to 'mpir_si *'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
cgal\include\CGAL/GMP/Gmpzf_type.h(414): error C2664: '__gmpz_get_d_2exp' :
cannot convert parameter 1 from 'CGAL::Gmpzf::Exponent *' to 'mpir_si *'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
cgal\include\CGAL/GMP/Gmpzf_type.h(425): error C2664: '__gmpz_get_d_2exp' :
cannot convert parameter 1 from 'long *' to 'mpir_si *'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
cgal\include\CGAL/GMP/Gmpzf_type.h(459): warning C4244: 'initializing' :
conversion from 'mp_bitcnt_t' to 'unsigned long', possible loss of data
cgal\include\CGAL/GMP/Gmpfr_type.h(1005): warning C4244: 'initializing' :
conversion from 'mp_bitcnt_t' to 'long', possible loss of data
cgal\include\CGAL/GMP/Gmpfr_type.h(1130): warning C4244: 'argument' :
conversion from 'mpir_ui' to 'unsigned long', possible loss of data
cgal\include\CGAL/GMP/Gmpfr_type.h(1132): warning C4244: 'argument' :
conversion from 'mpir_ui' to 'unsigned long', possible loss of data





--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/compilation-error-in-CGAL-4-7-beta-1-in-VC2015-on-x64-Platform-tp4661087.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page