Closed mman closed 6 years ago
Hey Martin - sure thing, I'll accept pulls!
Sent from my iPhone
On 10 Aug 2017, at 03:32, Martin Man notifications@github.com wrote:
Hi Micheal,
I have turned on some aggressive compiler checking on my projects, along with the new XCode 9 undefined behavior, runtime behavior, and address sanitizer and uncovered couple of compiler warnings around converting int to uint and others in TPCircularBuffer code.
I wonder whether I should spend some time trying to fix them (read: whether you are interested in pulling these into master).
Attached is an example screenshot from xcode pointing towards buffer length, head, and tail being int32_t which can be negative and (from my limited understanding of your code) they would better be unsigned somethings...
feel free to close as inappropriate or +1 if you want me to investigate this further...
thanks, Martin
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi Micheal,
I have turned on some aggressive compiler checking on my projects, along with the new XCode 9 undefined behavior, runtime behavior, and address sanitizer and uncovered couple of compiler warnings around converting
int
touint
and others inTPCircularBuffer
code.I wonder whether I should spend some time trying to fix them (read: whether you are interested in pulling these into master).
Attached is an example screenshot from xcode pointing towards buffer
length
,head
, andtail
beingint32_t
which can be negative and (from my limited understanding of your code) they would better beunsigned
somethings...feel free to close as inappropriate or +1 if you want me to investigate this further...
thanks, Martin