Blitzcc has stopped working if integer divide

Archives Forums/BlitzPlus Bug Reports/Blitzcc has stopped working if integer divide

Pakz(Posted 2014) [#1]


This code above makes blitz plus stop working without an error report. If you change the tilewidth variable on the graphicswidth line with 0 it does give an integer divide by zero error.

When I got this error I had no idea what I did wrong. Is this normal or should Blitzplus give an error report?


GfK(Posted 2014) [#2]
That isn't a bug - it's a "division by zero". It is not possible to divide something by zero.

[edit] If you mean the compiler crashes and burns (which isn't clear from your post), then yes it might constitute a bug. However, given that Blitzplus is now free, as well as ancient, you'd be better off just avoiding doing it, rather than expecting a fix.


Pakz(Posted 2014) [#3]
Yes it crashes and burns with the code in the codebox.

Blitz Plus is old and free yes but I do hope it is maintained. If not then I will have to remember this error type. It was quite a challenge finding the bug in my code without a error line number.