Actually, I just have found this thread [https://forum.nim-lang.org/t/2921](https://forum.nim-lang.org/t/2921)
Araq, I think what you can do for casts to comply with strict aliasing rules is: (target_type *)(void *) instead_of (target_type *) Would you accept such pull request with -fno-strict-aliasing removal included?