Messege :"Warning unreferenced functions removed"

Forum for problems or queries regarding the Flowcode application and compiler usage.

Moderators: Benj, Mods

Post Reply
rfsingh81@gmail.com
Posts: 9
Joined: Tue Dec 09, 2008 3:07 pm
Contact:

Messege :"Warning unreferenced functions removed"

Post by rfsingh81@gmail.com »

Hi
I made a flowcode for a security project using keypad and lcd screen. It works perfectly while doing demonstration in my pc. The problem comes when it is compiled , the compiler gives the following message:

Warning unreferenced functions removed:
FCD_LCDDisplay0_GetDefines in: C:\Users\Damien\Desktop\FLOCODE\safe.c
FCD_LCDDisplay0_Command in: C:\Users\Damien\Desktop\FLOCODE\safe.c
FCD_LCDDisplay0_RawSend in: C:\Users\Damien\Desktop\FLOCODE\safe.c
FCD_LCDDisplay0_PrintNumber in: C:\Users\Damien\Desktop\FLOCODE\safe.c
FCD_LCDDisplay0_PrintString in: C:\Users\Damien\Desktop\FLOCODE\safe.c
FCD_KeyPad0_GetKeypadNumber in: C:\Users\Damien\Desktop\FLOCODE\safe.c
LCD_1115862_Dummy_Function in: C:\Users\Damien\Desktop\FLOCODE\safe.c


It still writes the program to the chip without errors, but program does not work accordingly which ofourse I believe is because of the above warning message.
Any help will be greatly appreciated.
Thanks
Damien

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Messege :"Warning unreferenced functions removed"

Post by Benj »

Hello Damien

The warning message is simply saying that functions that were not called by your program are not included in the compiled code. Nothing to worry about.

What is your program doing that is not what you were expecting?

rfsingh81@gmail.com
Posts: 9
Joined: Tue Dec 09, 2008 3:07 pm
Contact:

Re: Messege :"Warning unreferenced functions removed"

Post by rfsingh81@gmail.com »

Hi Ben
My program is to get a 5 digit number from the user and then use it as a password. Only a matching 5 digit number entered via a keypad will open the security gate or safe or wherever I use it for. It works fine while in simulation mode.
When after the warning message it loads it into the MCU. The LCD screen is not responding to the keypad input, but prints 77777 and message from the macro i made " 5 DIGITS FOLLOWED BY # " alternatively.

Damien

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Messege :"Warning unreferenced functions removed"

Post by Benj »

Hi Damien

Do you mind sending me your program and I will take a look for you. See if I can spot what is causing the problems. You can attach the program to this email or forum if you wish by using the options under the submit button.

Post Reply