qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months ago-Wall ain't alllemmy.worldimagemessage-square25fedilinkarrow-up1347
arrow-up1347image-Wall ain't alllemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square25fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up1·10 months agoOk, you are certainly in one of those languages where plenty of your functions shouldn’t return a value, and you won’t ever let the compiler know that. On all of the other languages, it’s an error, not even a warning.
minus-squareqaz@lemmy.worldOPlinkfedilinkarrow-up10·10 months agoIt’s C++ and it just causes a SIGILL.
Ok, you are certainly in one of those languages where plenty of your functions shouldn’t return a value, and you won’t ever let the compiler know that.
On all of the other languages, it’s an error, not even a warning.
It’s C++ and it just causes a SIGILL.