THRIFT-2588 Thrift compiler is not buildable in Visual Studio 2010
authorJens Geyer <jensg@apache.org>
Tue, 24 Jun 2014 19:06:58 +0000 (21:06 +0200)
committerJens Geyer <jensg@apache.org>
Tue, 24 Jun 2014 19:06:58 +0000 (21:06 +0200)
Client: General Compiler
Patch: Thomas Lazar

compiler/cpp/compiler.vcxproj
compiler/cpp/compiler.vcxproj.filters
compiler/cpp/src/generate/t_csharp_generator.cc

index 6fe2d9d..5722c8d 100644 (file)
@@ -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>
index 7e2d933..c508a0f 100644 (file)
     </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" />
index 263800a..0edbe47 100644 (file)
@@ -27,6 +27,7 @@
 #include <fstream>
 #include <iostream>
 #include <vector>
+#include <cctype>
 
 #include <stdlib.h>
 #include <sys/stat.h>