-
- Downloads
common: vecq: rewrite a macro to avoid a strict aliasing violation
The compiler assumed that pointers to differently-sized structs can't alias each other, and reordered accesses to vec->back in some cases. Thus, access members via the real-typed struct; this requires putting this part into a macro.
Loading
Please register or sign in to comment