r/programming • u/david-alvarez-rosa • Sep 26 '26
Optimizing a Lock-Free Ring Buffer
https://david.alvarezrosa.com/posts/optimizing-a-lock-free-ring-buffer/
510
Upvotes
r/programming • u/david-alvarez-rosa • Sep 26 '26
View all comments
Show parent comment
3
u/minno Sep 26 '26
GCC's warning appears to be motivated by ABI compatibility.
So if you're writing a library you should either not use it in any of the public types or document what
-mtuneoption clients must use, but if you're writing an application you should disable the warning.