From 880c8ccbfdf99b156574dc1b950cdf9d4e16424a Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 9 Aug 2018 23:53:12 +0200 Subject: [PATCH] avoid linker errors with >= VS 2015 --- src/Mod/Points/App/Points.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Points/App/Points.cpp b/src/Mod/Points/App/Points.cpp index 04ca6471ab..f17f212b87 100644 --- a/src/Mod/Points/App/Points.cpp +++ b/src/Mod/Points/App/Points.cpp @@ -87,7 +87,8 @@ Base::BoundBox3d PointKernel::getBoundBox(void)const { Base::BoundBox3d bnd; -#ifdef _WIN32 + //FIXME: VS 2015 or later causes a linker error +#if defined (_MSC_VER) && (_MSC_VER <= 1800) // Thread-local bounding boxes Concurrency::combinable bbs; // Cannot use a const_point_iterator here as it is *not* a proper iterator (fails the for_each template)