I'm trying to add my library to the Community Bundle but when I go to run build.sh I get errors like this while building mpy-cross:
GEN build/genhdr/qstrdefs.generated.h
In file included from ../py/emitnx64.c:16:
../py/emitnative.c:2267:5: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
2267 | MP_STATIC_ASSERT(MP_OBJ_STOP_ITERATION == 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../py/misc.h:57:51: note: expanded from macro 'MP_STATIC_ASSERT'
57 | #define MP_STATIC_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)]))
| ^~~~~~~~~~~~~~~
1 error generated.
-e See https://learn.adafruit.com/building-circuitpython; Adafruit Discord #circuitpython-dev
make: *** [build/py/emitnx64.o] Error 1
This was fixed in MicroPython a couple of weeks ago; see micropython/micropython#18116
and it was fixed by micropython/micropython@33cf1ab
And it was fixed in CircuitPython 10.0.0.
However, it looks like build.sh wants to build CircuitPython 9.2.4 instead of that.
I'm trying to add my library to the Community Bundle but when I go to run
build.shI get errors like this while buildingmpy-cross:This was fixed in MicroPython a couple of weeks ago; see micropython/micropython#18116
and it was fixed by micropython/micropython@33cf1ab
And it was fixed in CircuitPython 10.0.0.
However, it looks like
build.shwants to build CircuitPython 9.2.4 instead of that.