I bought FC8 last week and I would like to request your help to clean few warning messages I got when compile to hex.
I was not able to fix these "discards qualifiers from pointer target type" warnings since when I double-click it (like others IDE I worked with) does not go to the proper macro nor the element in the macro. How to work with the console messages?
Code: Select all
C:\Users\...\SW>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\Users\...\SW\myProgram_0v2.elf" "C:\Users\...\SW\myProgram_0v2.c" -lm -Wl,-gc-sections
C:\Users\...\SW\myProgram_0v2.c: In function 'FCM_EnviaStatus':
C:\Users\...\SW\myProgram_0v2.c:2256: warning: passing argument 1 of 'FCD_056e1_USB_Serial1__SendString' discards qualifiers from pointer target type
C:\Users\...\SW\myProgram_0v2.c: In function 'FCM_InicializaEEPROM':
C:\Users\...\SW\myProgram_0v2.c:2701: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
C:\Users\...\SW\myProgram_0v2.c:2715: warning: passing argument 1 of 'FCI_GETLENGTH' discards qualifiers from pointer target type
C:\Users\...\SW\myProgram_0v2.c:2755: warning: passing argument 1 of 'FCI_GETLENGTH' discards qualifiers from pointer target type
Best regards,
Fernando