another slightly alarming C program from the Cerberus folkspic.twitter.com/1FfEaN8yP3
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
@spun_off @ch3root My leaning is that struct type is only relevant to aliasing if you store/load whole struct, not members.
@RichFelker @spun_off Do you agree that this is not what is written in the standard?
@ch3root @spun_off The language in the standard is not sufficiently clear to say.
@RichFelker @spun_off My reading goes like this. Consider struct s { int i; } x; The effective type of these 4 bytes is either struct s or\
@RichFelker @spun_off int, right? I can be accesses both as x and as x.i, i.e. with types struct s and int.
@RichFelker @spun_off C11, 6.5p7, is not symmetric. The item before the last says that accessing int with struct s is ok. But there is\
@RichFelker @spun_off no text in the standard that permits to access struct s as int. Hence the only possible reading is that the effective\
@RichFelker @spun_off type of the object in this case is int. Hence there is nothing that prevents access to it as struct not_s.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.