Merge pull request #3602 from afabri/CGAL-VC2017_AVX_workarounds-GF

Fix for VC2017 with /arch:AVX
This commit is contained in:
Laurent Rineau
2019-01-22 09:13:14 +01:00
5 changed files with 60 additions and 1 deletions
@@ -451,6 +451,19 @@ public:
Binary_compose_2(const Op1& x, const Op2& y, const Op3& z)
: op1(x), op2(y), op3(z) {}
// Added as workaround for VC2017 with /arch:AVX to fix
// https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.14-I-95/Polytope_distance_d/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Release-64bits.gz
Binary_compose_2(const Binary_compose_2& other)
: op1(other.op1), op2(other.op2), op3(other.op3) {}
Binary_compose_2& operator=(const Binary_compose_2& other)
{
op1 = other.op1;
op2 = other.op2;
op3 = other.op3;
return *this;
}
result_type
operator()(const first_argument_type& x,
const second_argument_type& y) const