[Fixed] 1.18.155 update breaks builds
Posted: Thu Feb 24, 2022 3:18 pm
I am having a problem with building my cloned and tweaked port of the 'rp2' port since the recent update to 1.18.155; don't know whether that relates to the mpy-cross changes or something else. It built yesterday but now doesn't ...
Looking in 'build/frozen_content.c' -
It seems that '\' is interpreted as a line continuation.
If I edit that out in 'build/frozen_content.c', I can run 'make' again and it all compiles okay, but a clean build puts it back in.
Presumably it's an issue with whatever creates 'build/frozen_content.c' ?
Code: Select all
[ 74%] Building C object CMakeFiles/picopython.dir/frozen_content.c.obj
/home/pi/pico/micropython/ports/picopython/build/frozen_content.c:7661:16: error: multi-line comment [-Werror=comment]
0x10,0x61, // LOAD_CONST_STRING \
Code: Select all
0x10,0x60, // LOAD_CONST_STRING -=[]
0x10,0x61, // LOAD_CONST_STRING \
0xf2, // BINARY_OP 27 __add__
If I edit that out in 'build/frozen_content.c', I can run 'make' again and it all compiles okay, but a clean build puts it back in.
Presumably it's an issue with whatever creates 'build/frozen_content.c' ?