You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by simonsouth <gi...@git.apache.org> on 2015/12/21 19:05:19 UTC

[GitHub] thrift pull request: THRIFT-3497 Build fails with "invalid use of ...

GitHub user simonsouth opened a pull request:

    https://github.com/apache/thrift/pull/753

    THRIFT-3497 Build fails with "invalid use of incomplete type"

    This change fixes an "invalid use of incomplete type" compiler error referring to `struct timeval` when building on Haiku.
    
    - `Monitor.cpp`: Include `thrift-config.h` for definition of `HAVE_SYS_TIME_H`.
    - `Monitor.h`: Explicitly include `sys/time.h` on platforms that require this.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/simonsouth/thrift thrift-3497-build-fails-with-invalid-use

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/753.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #753
    
----
commit fc8607d5379a48cf3a5e517a4d32e8faa9a9fdea
Author: Simon South <si...@simonsouth.com>
Date:   2015-12-21T18:01:03Z

    THRIFT-3497 Build fails with "invalid use of incomplete type"
    
    - Monitor.cpp: Include thrift-config.h for definition of
      HAVE_SYS_TIME_H
    - Monitor.h: Explicitly include sys/time.h on platforms that require
      this

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-3497 Build fails with "invalid use of ...

Posted by Jens-G <gi...@git.apache.org>.
Github user Jens-G commented on the pull request:

    https://github.com/apache/thrift/pull/753#issuecomment-170158504
  
    Hi Simon, is that invalid or why did you close it?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] thrift pull request: THRIFT-3497 Build fails with "invalid use of ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/753


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---