Nice try. Did not work for me. Same error when using make and using Code:Blocks
In file included from …/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/bridge.c:1:
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h: In function ‘hl_kinc_bytearray_setint16_le’:
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h:115:34: error: lvalue required as unary ‘&’ operand
115 | int8_t *data = (int8_t *)&((int16_t)value);
| ^
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h: In function ‘hl_kinc_bytearray_setuint16_le’:
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h:121:34: error: lvalue required as unary ‘&’ operand
121 | int8_t *data = (int8_t *)&((uint16_t)value);
| ^
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h: In function ‘hl_kinc_bytearray_setint32_le’:
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h:127:34: error: lvalue required as unary ‘&’ operand
127 | int8_t *data = (int8_t *)&((int32_t)value);
| ^
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h: In function ‘hl_kinc_bytearray_setuint32_le’:
…/…/…/…/…/ArmorySDK2212/Kha/Backends/Kinc-HL/kinc-bridge/arrays.c.h:133:34: error: lvalue required as unary ‘&’ operand
133 | int8_t *data = (int8_t *)&((uint32_t)value);
| ^
make: *** [makefile:428: bridge.o] Error 1