SiK icon indicating copy to clipboard operation
SiK copied to clipboard

bootloader/bootloader.c:102: error 158: overflow in implicit constant conversion

Open coleharlow12 opened this issue 5 years ago • 3 comments

I keep getting this error when I try to use the makefile to compile the source code. I believe this error is coming from SDCC but I am unsure of how to fix it. The code in question is

for (i = 0; i < 255; i++) {

coleharlow12 avatar Jun 26 '19 05:06 coleharlow12

SDCC might be treating 0 and 255 as signed integers. The following gets rid of the error. However, more errors follow.

for (i = 0u; i < 255u; i++) {

akissu avatar Aug 27 '19 21:08 akissu

same here, how is this supposed to be fixed? @tridge ?

AndKe avatar Sep 13 '19 12:09 AndKe

for now you'll need to download and build an older release of sdcc

tridge avatar Sep 24 '19 21:09 tridge