[ https://issues.apache.org/jira/browse/THRIFT-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Cox updated THRIFT-1627: ------------------------------- Attachment: thrift-windows-build-fixes.patch > compiler built using compilers.vcxproj cannot be used to build some test > .thrift files > -------------------------------------------------------------------------------------- > > Key: THRIFT-1627 > URL: https://issues.apache.org/jira/browse/THRIFT-1627 > Project: Thrift > Issue Type: Bug > Components: Build Process > Affects Versions: 0.9 > Environment: Windows, using Visual C++ to build compiler > Reporter: Andrew Cox > Priority: Minor > Fix For: 0.9 > > Attachments: thrift-windows-build-fixes.patch > > > I tried to setup an environment on Windows. Rather than use a pre-built > thrift.exe compiler, I built the compiler from source using Visual C++ (via > compiler.vcxproj). While the compiler builds successfully, it is lacking > generators for Delphi and D languages. > When the compiler encounters a namespace directive in a .thrift file for a > language, and it doesn't have a generator for that language, it throws an > error. > Therefore, this change adds the D and Delphi generators to the VC++ project. > Additionally, some test thrift files use a very large integer constant (10 > billion, too big for 32 bits). The windows-built compiler had strtoll > #define'd to strtol, so it could not handle this large integer, so the test > failed. This change defines strtoll as _stroi64, the VC++ equivalent, to fix > that issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira