kiri@ani.social to Programmer Humor@programming.dev · edit-217 hours agoC++ani.socialimagemessage-square64fedilinkarrow-up1577arrow-down19file-text
arrow-up1568arrow-down1imageC++ani.socialkiri@ani.social to Programmer Humor@programming.dev · edit-217 hours agomessage-square64fedilinkfile-text
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up2·edit-25 hours agoIn some build modes clang will simply put a trap where it sees undefined behavior. https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html Not saying your wrong, just a fun fact I guess
minus-squareheavy@sh.itjust.workslinkfedilinkEnglisharrow-up1·8 minutes agoYeah that is fun, credit where it’s due, compilers do a lot of cool work behind the scenes.
In some build modes clang will simply put a trap where it sees undefined behavior. https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
Not saying your wrong, just a fun fact I guess
Yeah that is fun, credit where it’s due, compilers do a lot of cool work behind the scenes.