Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi,
We are migrating from CCS v6.2 to v9.1 and find a lot of warnings.
1) optimize_with_debug is deprecated in CCS v9.1, how can I removed it to avoid warnings.
2) remark #2142-D: comparison between signed and unsigned operands.
3) line 20131: warning: statement is unreachable with this TI code:
/* Object__get__S */
xdc_Ptr ti_sysbios_knl_Clock_Object__get__S(xdc_Ptr oa, xdc_Int i)
{
if (oa) {
return ((ti_sysbios_knl_Clock_Object__ *)oa) + i;
}
if (ti_sysbios_knl_Clock_Object__count__C == 0) {
return NULL;
}
// the following line is flagged as unreachable in app_pe66.c which is generated by CCS tool.
return ((ti_sysbios_knl_Clock_Object__ *)ti_sysbios_knl_Clock_Object__table__C) + i;
}
Thank you.
Steve