cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agoTell me the truth ...piefed.jeena.netimagemessage-square167linkfedilinkarrow-up1986arrow-down115cross-posted to: programmerhumor@lemmy.ml
arrow-up1971arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square167linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up3·1 year 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·1 year 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