-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
bugSomething isn't workingSomething isn't workingcompilationcompilation failure (most probably mac, or windows)compilation failure (most probably mac, or windows)
Description
Describe the bug
Error when building ulab for 1 dimension.
Configuration used
#define ULAB_MAX_DIMS (1) // Limit array dimensions to 1D
Output
../../../ulab/code/numpy/compare.c: In function 'compare_nonzero':
../../../ulab/code/numpy/compare.c:511:58: error: 'arrays$' may be used uninitialized [-Werror=maybe-uninitialized]
511 | arrays[ULAB_MAX_DIMS - 1 - d][count] = indices[d];
| ^
../../../ulab/code/numpy/compare.c:484:15: note: 'arrays$' was declared here
484 | uint16_t *arrays[ULAB_MAX_DIMS];
| ^~~~~~
cc1: all warnings being treated as errors
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [build-STM32F405RG/code/numpy/compare.o] Error 1
./build.sh: line 82: |: syntax error: operand expected (error token is "|")
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcompilationcompilation failure (most probably mac, or windows)compilation failure (most probably mac, or windows)