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
Yes, you are correct. This issue can be closed. As you say there is a struct parent object at that memory address, so no problem since we use that same type when accessing it.
Using offsetof we could even do something similar with other fields of a struct (second, third, ...) without violating strict aliasing.
I could be wrong, but it looks like chap9/c_inclusion.c violates the strict aliasing rule.
The text was updated successfully, but these errors were encountered: