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

barcode.c:11: syntax error: token -> '0b00110011011' ; column 1 (linux - how to fix) #2

Open
ph2lb opened this issue Aug 5, 2022 · 1 comment

Comments

@ph2lb
Copy link

ph2lb commented Aug 5, 2022

I tried to build this under Linux Ubuntu 20.04.1 with SDCC 3.8.0 and got :

barcode.c:11: syntax error: token -> '0b00110011011' ; column 1

Fixed it by setting --std-c2x to --std-sdcc2x in file : cpu/8051/make.mk

original : FLAGS += -mmcs51 --std-c2x --opt-code-size --peep-file cpu/8051/peep.def --fomit-frame-pointer

new : FLAGS += -mmcs51 --std-sdcc2x --opt-code-size --peep-file cpu/8051/peep.def --fomit-frame-pointer

@atc1441
Copy link
Owner

atc1441 commented Aug 5, 2022

Thanks a lot ! This will help a lot of people

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

2 participants