|
From: levan s. <sh...@ho...> - 2016-04-15 09:58:54
|
I had similar problems after switching to vs2015 from vs2010.I needed to change include orders and 'use namespace std 'Use#include<cmath>
i have something like this:#include <cmath>#include <vector>#include <map>#include "Material.h"#include "fx.h"
see fx.h comes after std headers.
>
> I just upgraded to Visual Studio 2015 and using the default "Platform
> Toolset Visual Studio (v140)" gives these errors below.
>
>
>
> switching to "Platform Toolset V110" on VS 2015 fixes the problems but I
> wonder if this is a VS bug of Fox bug. I see this with fox 1.6.44 and 1.7.50
>
>
>
>
>
> compile errors:
>
>
>
>
>
> 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(32):
> error C2589: '(': illegal token on right side of '::'
>
> 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(32):
> error C2059: syntax error: '::'
******************
|