Page 1 of 1

Update CAL & Components to remove warnings

Posted: Sun May 18, 2014 8:55 pm
by kersing
Currently when compiling code a number of warnings are being generated because unused variables, pointer signedness etc. For larger programs this results in screens full of warnings, hiding the issues I've introduced myself. It would be very nice if the Matrix supplied code could compile clean.

Examples:
wsbrd1.c: In function 'FCD_047b1_RS232__SendString':
wsbrd1.c:219: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness

can-error.c: In function 'FCD_02cf1_gLCD_EB057__Print':
can-error.c:1731: warning: unused variable 'FCL_TEMP2'
can-error.c: In function 'FCD_02cf1_gLCD_EB057__SetBackgroundColour':
can-error.c:1903: warning: unused variable 'FCL_COLOUR'
can-error.c: In function 'FCD_02cf1_gLCD_EB057__Initialise':
can-error.c:2131: warning: right shift count >= width of type