You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/10/05 04:19:42 UTC

[jira] [Updated] (THRIFT-1677) MinGW support broken

     [ https://issues.apache.org/jira/browse/THRIFT-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell updated THRIFT-1677:
---------------------------------

    Component/s: Build Process

> MinGW support broken
> --------------------
>
>                 Key: THRIFT-1677
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1677
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9
>         Environment: Windows 7, MinGW-W64 4.5.3 20110207
>            Reporter: Josh D
>
> It appears that there's been a lot of great work towards getting Apache to work with Visual Studio that have broken compatability with MinGW.  There are really too many issues, to list them all.  In the .8 release, winsdkver.h is inlcuded (fixed on trunk).  Trunk has dozens of issues, that I haven't been able to fully resolve.  Mainly it's checking if _WIN32 is defined and bypassing code that should be used within MinGW.  For example, using _chsize_s instead of ftruncate or redefining POSIX structures/functions like gettimeofday, which are present in MinGW.  It seems like most of these issues could be resolved with autoconf.  Also, from a 64-bit MinGW perspective, you C-style cast pointers to "int" which isn't permissible in more modern versions of gcc.



--
This message was sent by Atlassian JIRA
(v6.1#6144)