Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exit code -1 cause found (SGN)
#1
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.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#2
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?
I'm using version 1.4.0s1968.
Hmm. You're right. I'll fix that.
Reply
#3
boriel Wrote:
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?
I'm using version 1.4.0s1968.
Hmm. You're right. I'll fix that.
Excellent! Thank you!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)