Page 1 of 1

Anything wrong with these messages after compiling

Posted: Sun Nov 21, 2010 4:39 am
by mimiyum
Hello,
Am I supposed to be disturbed by these messages that I get after compiling?

Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_msDelay in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCD_ADC0_ReadAsByte in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_ADC0_ReadAsVoltage in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_ADC0_ReadAsString in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_ADC1_ReadAsByte in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_ADC1_ReadAsVoltage in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_ADC1_ReadAsString in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_PWM0_Disable in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_PWM0_ChangePeriod in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c
FCD_PWM0_SetDutyCycle10bit in: D:\Flowcode\Gyrating Luneta\Gyrating Luneta Tilt- INT-1 with switch.c

Am I supposed to do anything if I see these?

Thanks,
Mimiyum

Re: Anything wrong with these messages after compiling

Posted: Sun Nov 21, 2010 11:46 am
by medelec35
Hello mimiyum.
Benj wrote:
"Warning unreferenced functions removed:
This means that the functions that you are not calling (referencing) in your program will not be included in the assembled hex file. Basically because your not using them they wont consume memory on the device. This is normal and one of the major advantages of using the C language.
So these messages are normal and can be totally ignored.

E.g if you have only one ADC ReadAsByte.
Then since it is not:
ReadAsInt
ReadAsVoltage
Or
ReadAsString
Then there will be a

Code: Select all

Warning unreferenced functions removed:
	 	 FCD_ADC1_ReadAsInt	 in: D:\PWM12F675chip1.c
	 FCD_ADC1_ReadAsVoltage	 in: D:\PWM12F675chip1.c
	 FCD_ADC1_ReadAsString	 in: D:\PWM12F675chip1.c 
Along with some other functions not being used.

Re: Anything wrong with these messages after compiling

Posted: Sun Nov 21, 2010 11:55 am
by mimiyum
Thanks Medelec for your explanation. I'm glad it's not something I should worry about! :P