You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was caught by our unit tests. Parentheses elision in #define macro to template conversion can lead to incorrect results when dealing with pointers.
This was caught by our unit tests. Parentheses elision in
#define
macro to template conversion can lead to incorrect results when dealing with pointers.This line:
Was translated by dstep to:
Pointer arithmetic rules cause this to give wrong result. Our original hand translation preserves parentheses, giving correct results:
(
b->data
here is aubyte *
)noted by @charlesgregory
The text was updated successfully, but these errors were encountered: