![]() |
|
Exit code -1 cause found (SGN) - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15) +---- Thread: Exit code -1 cause found (SGN) (/showthread.php?tid=738) |
Exit code -1 cause found (SGN) - LCD - 2016-07-13 If I have a unsigned variable (e.g. UBYTE) and want a SGN of it, the compiler produces a warning that it can then be only 0 or 1, but the compiler exits with exit code -1. Should be the warning not mean, it can be compiled anyway? I'm using version 1.4.0s1968. Re: Exit code -1 cause found (SGN) - boriel - 2016-07-18 LCD Wrote:If I have a unsigned variable (e.g. UBYTE) and want a SGN of it, the compiler produces a warning that it can then be only 0 or 1, but the compiler exits with exit code -1. Should be the warning not mean, it can be compiled anyway?Hmm. You're right. I'll fix that. Re: Exit code -1 cause found (SGN) - LCD - 2016-07-19 boriel Wrote:Excellent! Thank you!LCD Wrote:If I have a unsigned variable (e.g. UBYTE) and want a SGN of it, the compiler produces a warning that it can then be only 0 or 1, but the compiler exits with exit code -1. Should be the warning not mean, it can be compiled anyway?Hmm. You're right. I'll fix that. |