cm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agoTell me the truth ...piefed.jeena.netimagemessage-square143fedilinkarrow-up11.16K
arrow-up11.16KimageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square143fedilink
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up4·2 days agoYeah. I once had to do stuff to code that had bit-fields like that and after a while, realised (by means of StackOverflow) that that part is UB and I had to go with bitwise operations instead.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·2 days agoOk, I recalled wrong, it was unspecified
Yeah. I once had to do stuff to code that had bit-fields like that and after a while, realised (by means of StackOverflow) that that part is UB and I had to go with bitwise operations instead.
Undefined Behavior…?
Ok, I recalled wrong, it was unspecified