Does not build on Mac OS X 10.8.2 Intel
Brought to you by:
cls-nebadje
./configure succeeds, but build fails with the following error:
In file included from WOscTcpHandler.cpp:8:
./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; }
^~~~~~~~~~~~~~~~~~~
1 error generated.
I get two other errors
./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;
https://github.com/angelofraietta/WOscLib.git