You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Stig Bakken (JIRA)" <ji...@apache.org> on 2010/03/29 15:23:27 UTC
[jira] Updated: (THRIFT-742) Compile error (Thread::id_t not fully
qualified)
[ https://issues.apache.org/jira/browse/THRIFT-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stig Bakken updated THRIFT-742:
-------------------------------
Attachment: thrift.patch
> Compile error (Thread::id_t not fully qualified)
> ------------------------------------------------
>
> Key: THRIFT-742
> URL: https://issues.apache.org/jira/browse/THRIFT-742
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (C++)
> Environment: MacOS X 10.6
> Reporter: Stig Bakken
> Attachments: thrift.patch
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> Compile error, fixed by fully specifying a type.
> Patch:
> diff --git a/lib/cpp/src/concurrency/PosixThreadFactory.cpp b/lib/cpp/src/concurrency/PosixThreadFactory.cpp
> index e48dce3..ce411ce 100644
> --- a/lib/cpp/src/concurrency/PosixThreadFactory.cpp
> +++ b/lib/cpp/src/concurrency/PosixThreadFactory.cpp
> @@ -281,7 +281,7 @@ class PosixThreadFactory::Impl {
>
> Thread::id_t getCurrentThreadId() const {
> // TODO(dreiss): Stop using C-style casts.
> - return (id_t)pthread_self();
> + return (Thread::id_t)pthread_self();
> }
>
> };
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.