Update CAL & Components to remove warnings

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Post Reply
kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Update CAL & Components to remove warnings

Post 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
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply