Skip to content

Commit

Permalink
Compile standard clean Area.cpp
Browse files Browse the repository at this point in the history
C++17 is the minimum standard for compiling Freecad.
Code written for C++14 or lower is removed
  • Loading branch information
mosfet80 authored Dec 28, 2024
1 parent 7083362 commit 7a33943
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Mod/CAM/App/Area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cfloat>

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 7a33943

Please sign in to comment.