I have made a fix for this. It now builds without errors or warnings
https://github.com/angelofraietta/WOscLib.git
On Fri, Jul 6, 2018 at 5:03 PM, Angelo Fraietta <
new...@sm...> wrote:
> I get these errors trying to make library.
>
> ./WOscTcpHandler.h:105:37: error: cannot initialize return object of type
> 'int'
> with an lvalue of type 'const pthread_t' (aka '_opaque_pthread_t
>
>
>
> *const')int GetRxThreadID() const { return m_receptionThreadID;
> }^~~~~~~~~~~~~~~~~~~WOscTcpHandler.cpp:169:27: error: ordered comparison
> between pointer and zero('pthread_t' (aka '_opaque_pthread_t *') and
> 'int')
> if ( m_receptionThreadID > 0 )
>
> also a warning
> WOscTimeTag.cpp:290:12: warning: use of unary operator that may be
> intended as
> compound assignment (+=)
> m_timeTag =+ rhs.m_timeTag;
>
>
> Is anyone currently supporting this or is there a working branch?
>
> If not, does anyone know if there is a branch we should upload fixes to?
>
|