Anything wrong with these messages after compiling

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
mimiyum
Posts: 94
Joined: Wed Jul 16, 2008 4:39 pm
Location: Philippines
Been thanked: 1 time
Contact:

Anything wrong with these messages after compiling

Post 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

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: Anything wrong with these messages after compiling

Post 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.
Martin

mimiyum
Posts: 94
Joined: Wed Jul 16, 2008 4:39 pm
Location: Philippines
Been thanked: 1 time
Contact:

Re: Anything wrong with these messages after compiling

Post by mimiyum »

Thanks Medelec for your explanation. I'm glad it's not something I should worry about! :P

Post Reply