Warning during compiling - Strings
Posted: Fri Jul 02, 2021 12:15 am
Hi
I am getting the following warnings when compiling.
Can you guys tell me what the warnings are for, please.
v0.1.c
2: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [enabled by default]
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC32BIT\PIC32BIT_CAL_String.c:542:18: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
v0.1.c
6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
I have about 20 warnings like this just repeating with different variables.
My program appears to be working fine even with the warnings, but when working on a big program and you get these warnings at the start, it kinda makes you feel like you are building on sand.
I am getting the following warnings when compiling.
Can you guys tell me what the warnings are for, please.
v0.1.c
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC32BIT\PIC32BIT_CAL_String.c:542:18: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
v0.1.c
I have about 20 warnings like this just repeating with different variables.
My program appears to be working fine even with the warnings, but when working on a big program and you get these warnings at the start, it kinda makes you feel like you are building on sand.