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 warning: unused variable 'FCL_TEMP2'
can-error.c: In function 'FCD_02cf1_gLCD_EB057__SetBackgroundColour':
can-error.c warning: unused variable 'FCL_COLOUR'
can-error.c: In function 'FCD_02cf1_gLCD_EB057__Initialise':
can-error.c warning: right shift count >= width of type
Update CAL & Components to remove warnings
Moderator: Benj
Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Only feature requests will be considered here. General questions should not be posted in this forum.
-
- 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
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis