Constexpr INFINITY compile error

Hi,
I’m new to Juce and Projuce,

I just created a new project.
It compile just fine on Visual Studio 2015 but I wanted to use Projuce for creating my UI and i stumbled upon this problem :

Several compiling errors in the “limits” file (part of the microsoft visual studio headers in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include)

The error i get is "constexpr function never produces a constant expression"
It shows up for every infinity() function of every numeric type…
Theses functions return the macro defined INFINITY variable

As i read from cppreference, it is a c++11 macro so i added -std=c++11 to the compile flags but it doesn’t help…

Any ideas ?

Thank you for the help in advance :slight_smile:

I managed to solve the problem myself
It was an old version of the “limits” header as it seems