mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-06 12:57:35 +08:00
The patch fixes transformation persistence for various set of GCC compilers. 1) Optimized template-specialized operator /= for division (causes bugs) of NCollection_Vec4 was replaced with non-specialized version. 2) NCollection_Vec4::xyz() is not used since compiler uses modifiable-reference returning version, which invokes warning of possible strict-aliasing rules violation and leads to incorrect behavior of the reference.