kiri@ani.social to Programmer Humor@programming.dev · edit-25 days agoC++ani.socialexternal-linkmessage-square91fedilinkarrow-up1804arrow-down115file-text
arrow-up1789arrow-down1external-linkC++ani.socialkiri@ani.social to Programmer Humor@programming.dev · edit-25 days agomessage-square91fedilinkfile-text
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up3·edit-24 days 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·4 days 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.