Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoSTOP WRITING Clemmy.worldimagemessage-square134fedilinkarrow-up1747arrow-down157
arrow-up1690arrow-down1imageSTOP WRITING Clemmy.worldMaven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square134fedilink
minus-squarekevincox@lemmy.mllinkfedilinkarrow-up1·9 months agoWell it is standard. The standard says that it is undefined behaviour. But I guess you are right that some compilers have non-standard options to make it not undefined behaviour.
It’s actually nonstandard. Use memcpy
Well it is standard. The standard says that it is undefined behaviour. But I guess you are right that some compilers have non-standard options to make it not undefined behaviour.