On Tue, Nov 03, 2015 at 01:47:28PM +0200, Lubomir I. Ivanov wrote:
> From: "Lubomir I. Ivanov"
>
> The introduction of -std=c++11 breaks usage of M_PI in Mingw,
> but technically M_PI is not standard C or C++.
>
> Defining M_PI in units.h solves the issue.
This is one of those things that just
From: "Lubomir I. Ivanov"
The introduction of -std=c++11 breaks usage of M_PI in Mingw,
but technically M_PI is not standard C or C++.
Defining M_PI in units.h solves the issue.
Signed-off-by: Lubomir I. Ivanov
---
the Mingw math.h header does have the _USE_MATH_DEFINES
macro check and it's on