Page 1 of 1

Messege :"Warning unreferenced functions removed"

Posted: Tue Dec 09, 2008 3:19 pm
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

Re: Messege :"Warning unreferenced functions removed"

Posted: Tue Dec 09, 2008 3:40 pm
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?

Re: Messege :"Warning unreferenced functions removed"

Posted: Tue Dec 09, 2008 4:33 pm
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

Re: Messege :"Warning unreferenced functions removed"

Posted: Tue Dec 09, 2008 5:19 pm
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.