Repository: thrift Updated Branches: refs/heads/master cf9d968a8 -> ff296c884
THRIFT-2588 Thrift compiler is not buildable in Visual Studio 2010 Client: General Compiler Patch: Thomas Lazar Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/ff296c88 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/ff296c88 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/ff296c88 Branch: refs/heads/master Commit: ff296c8841d78dff9213342b21def57029ea83e7 Parents: cf9d968 Author: Jens Geyer <[email protected]> Authored: Tue Jun 24 21:06:58 2014 +0200 Committer: Jens Geyer <[email protected]> Committed: Tue Jun 24 21:06:58 2014 +0200 ---------------------------------------------------------------------- compiler/cpp/compiler.vcxproj | 1 + compiler/cpp/compiler.vcxproj.filters | 3 +++ compiler/cpp/src/generate/t_csharp_generator.cc | 1 + 3 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/ff296c88/compiler/cpp/compiler.vcxproj ---------------------------------------------------------------------- diff --git a/compiler/cpp/compiler.vcxproj b/compiler/cpp/compiler.vcxproj index 6fe2d9d..5722c8d 100644 --- a/compiler/cpp/compiler.vcxproj +++ b/compiler/cpp/compiler.vcxproj @@ -75,6 +75,7 @@ <ClCompile Include="src\main.cc" /> <ClCompile Include="src\md5.c" /> <ClCompile Include="src\parse\parse.cc" /> + <ClCompile Include="src\parse\t_typedef.cc" /> <ClCompile Include="src\thriftl.cc" /> <ClCompile Include="src\thrifty.cc" /> </ItemGroup> http://git-wip-us.apache.org/repos/asf/thrift/blob/ff296c88/compiler/cpp/compiler.vcxproj.filters ---------------------------------------------------------------------- diff --git a/compiler/cpp/compiler.vcxproj.filters b/compiler/cpp/compiler.vcxproj.filters index 7e2d933..c508a0f 100644 --- a/compiler/cpp/compiler.vcxproj.filters +++ b/compiler/cpp/compiler.vcxproj.filters @@ -164,6 +164,9 @@ </ClCompile> <ClCompile Include="src\thriftl.cc" /> <ClCompile Include="src\thrifty.cc" /> + <ClCompile Include="src\parse\t_typedef.cc"> + <Filter>parse</Filter> + </ClCompile> </ItemGroup> <ItemGroup> <None Include="src\thriftl.ll" /> http://git-wip-us.apache.org/repos/asf/thrift/blob/ff296c88/compiler/cpp/src/generate/t_csharp_generator.cc ---------------------------------------------------------------------- diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc index 263800a..0edbe47 100644 --- a/compiler/cpp/src/generate/t_csharp_generator.cc +++ b/compiler/cpp/src/generate/t_csharp_generator.cc @@ -27,6 +27,7 @@ #include <fstream> #include <iostream> #include <vector> +#include <cctype> #include <stdlib.h> #include <sys/stat.h>
