Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coleharlow12 opened this issue Jun 26, 2019 · 3 comments

Comments

@coleharlow12
Copy link

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++) {

@akissu
Copy link

akissu commented Aug 27, 2019

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++) {

@AndKe
Copy link
Contributor

AndKe commented Sep 13, 2019

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

@tridge
Copy link
Contributor

tridge commented Sep 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants