Warning unreferenced functions removed

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
Dmitry Maximenko
Flowcode V4 User
Posts: 36
Joined: Mon Sep 26, 2011 10:26 pm
Has thanked: 9 times
Been thanked: 2 times
Contact:

Warning unreferenced functions removed

Post by Dmitry Maximenko »

Hi
I have various different warnings when I compile my program.
Is it normal or have I done something wrong?
"
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCD_ADC0_ReadAsByte in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_ADC0_ReadAsVoltage in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_ADC0_ReadAsString in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_ADC1_ReadAsByte in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_ADC1_ReadAsVoltage in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_ADC1_ReadAsString in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_PWM0_SetDutyCycle in: C:\Documents and Settings\Admin\Desktop\5A_V5.c
FCD_PWM0_ChangePeriod in: C:\Documents and Settings\Admin\Desktop\5A_V5.c

Warning: function never returns: 'FCM_Error'
Building CASM file
Memory Usage Report
===================
RAM available:384 bytes, used:61 bytes (15.9%), free:323 bytes (84.1%),
Heap size:304 bytes, Heap max single alloc:95 bytes
ROM available:4096 words, used:2017 words (49.3%), free:2079 words (50.7%)



success

Return code = 0

FINISHED"

Best Regards
Dmitry

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Warning unreferenced functions removed

Post by JohnCrow »

Hi Dmitry
You see this with anything more than a very simple flowchart.

It's not normally any cause for concern.
I think its basically saying that the parts of the libraries your flowchart is calling that are not needed have been removed from the final code.
1 in 10 people understand binary, the other one doesn't !

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

Re: Warning unreferenced functions removed

Post by medelec35 »

Hi Dmitry,
I would just like to add:

Code: Select all

Warning: function never returns: 'FCM_Error'
What that means is when macro named Error is accessed, the program will keep looping within that macro, so will never exit and go to Main macro.
If you have done that deliberately, then it's nothing to worry about at all.

Martin
Martin

Post Reply