Expected Behavior
No warnings produced by the framework
Current Behavior
13 compiler warnings
Steps to Reproduce
Always reproducible when building.
Context
Tried to address it here: #104
@digitaliz did further investigation - Daniel please post info here
Failure Logs
Xcode shows:
Initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<_opaque_pthread_mutex_t>') results in a dangling pointer
which we started seeing recently.
and the following suggestions
1. Implicit argument conversion from 'pthread_mutex_t' (aka '_opaque_pthread_mutex_t') to 'UnsafeMutablePointer<pthread_mutex_t>' (aka 'UnsafeMutablePointer<_opaque_pthread_mutex_t>') produces a pointer valid only for the duration of the call to 'init(_:)'
2. Use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope