ZBS_Flasher icon indicating copy to clipboard operation
ZBS_Flasher copied to clipboard

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

Open ph2lb opened this issue 2 years ago • 1 comments

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

ph2lb avatar Aug 05 '22 09:08 ph2lb

Thanks a lot ! This will help a lot of people

atc1441 avatar Aug 05 '22 09:08 atc1441