From 7a339432824c68fc0f5ff7c9da918baff5defda2 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Sat, 28 Dec 2024 07:32:34 +0100 Subject: [PATCH] Compile standard clean Area.cpp C++17 is the minimum standard for compiling Freecad. Code written for C++14 or lower is removed --- src/Mod/CAM/App/Area.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Mod/CAM/App/Area.cpp b/src/Mod/CAM/App/Area.cpp index bb1969a63fcd..1d5f0e7e114b 100644 --- a/src/Mod/CAM/App/Area.cpp +++ b/src/Mod/CAM/App/Area.cpp @@ -22,9 +22,6 @@ #include "PreCompiled.h" -// From Boost 1.75 on the geometry component requires C++14 -#define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING - #ifndef _PreComp_ #include @@ -81,13 +78,6 @@ #include "Area.h" -// FIXME: ISO C++11 requires at least one argument for the "..." in a variadic macro -#if defined(__clang__) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" -#endif - - namespace bg = boost::geometry; namespace bgi = boost::geometry::index;