1. The macro:
*****
/** Tuple object declaration macro (used by output of pmCoCreator.py) */
#define PM_DECLARE_TUPLE_TYPE(n) \
typedef struct PmTuple ## n ## _s \
{ \
PmObjDesc_t od; \
int16_t length; \
pPmObj_t val[n]; \
} PmTuple ## n ## _t
*****
causes problems when n = 0. For example: PM_DECLARE_TUPLE_TYPE(0);. The IAR compiler does not like pPmObj_t val[n]; when n = 0.
2. The IAR compiler is generating warnings for the following auto-generated line of C code:
#line 24 "C:\Projects\TouchKit\CBComm\Mpc04Firmware\..\shared\python2\src\lib\list.py"
The warning is: "Warning[Pe192]: unrecognized character escape sequence C:\Projects\TouchKit\CBComm\Mpc04Firmware\pm_generated_objs.c 47".
Thanks,
Gil