Climatology doesn't compile anymore after the last code changes under Win7, VC2010, wxWidgets 2.8.12. This is the relevant compiler output :
----------------------
...
4> ClimatologyOverlayFactory.cpp
4>..\src\ClimatologyOverlayFactory.cpp(1749): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4>..\src\ClimatologyOverlayFactory.cpp(1782): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4>..\src\ClimatologyOverlayFactory.cpp(1782): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4> climatology_pi.cpp
4> ClimatologyUI.cpp
4> ClimatologyDialog.cpp
4> ClimatologyConfigDialog.cpp
4>..\src\ClimatologyConfigDialog.cpp(260): warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning)
4> zuFile.cpp
4> IsoBarMap.cpp
4> icons.cpp
4> jsonval.cpp
4> jsonreader.cpp
4> jsonwriter.cpp
4> Generating Code...
5>------
Rebuild All started:
Project: ALL_BUILD, Configuration: Release Win32 ------
5> Building Custom
Rule C:/git/climatology/climatology_pi/CMakeLists.txt
5> CMake does not need to re-run because C:\git\climatology\climatology_pi\build\CMakeFiles \generate.stamp is up-to-date.
5> Build all projects
==========
Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========
----
Thomas