* src/SDCC.lex
* src/SDCCsymt.c
* src/SDCCval.c
+ * src/pic16/pcode.c: Cleaned warnings
+ * src/pic16/pcodeflow.c: Cleaned warnings
+ * src/pic16/pcoderegs.c: Cleaned warnings
2003-05-19 Scott Dattalo <scott@dattalo.com>
len = strlen(buffer);
if(len > *size) {
fprintf(stderr,"WARNING, it looks like %s has overflowed\n",__FUNCTION__);
- fprintf(stderr,"len = %d is > str size %d\n",len,*size);
+ fprintf(stderr,"len = %d is > str size %d\n",len, (int) *size);
}
strcpy(*str, buffer);
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
-static char *pCode2str(char *str, int size, pCode *pc)
+static char *pCode2str(char *str, size_t size, pCode *pc)
{
char *s = str;
dbg_dumpFlowTree(FlowTree);
}
-#endif
static void dbg_dumpFlow(pBlock *pb)
{
fprintf(stderr,"\n");
}
}
-
}
+#endif
+
/*-----------------------------------------------------------------*
* void BuildFlowSegment(set *segment, pCodeFlow *pcflow)
*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*
*
*-----------------------------------------------------------------*/
+#if 0
static void dbg_regusage(set *fregs)
{
regs *reg;
}
}
}
+#endif
/*-----------------------------------------------------------------*
*
*-----------------------------------------------------------------*/
+#if 0
static void dbg_dumpregusage(void)
{
dbg_regusage(pic16_dynProcessorRegs);
}
-
+#endif
/*-----------------------------------------------------------------*
* void pCodeRegMapLiveRangesInFlow(pCodeFlow *pcfl)