ZBS_Flasher
ZBS_Flasher copied to clipboard
barcode.c:11: syntax error: token -> '0b00110011011' ; column 1 (linux - how to fix)
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
Thanks a lot ! This will help a lot of people