Strange warnings when compiling

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
User avatar
mytekcontrols
Posts: 95
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 4 times
Been thanked: 7 times
Contact:

Strange warnings when compiling

Post by mytekcontrols »

I get the following Warnings, but this is followed by a "Success", and then proceeds to program the PIC16F877a without any problems. Basically the code seems to work just fine in my application, but the warnings do concern me.

Code: Select all

BoostLink Optimizing Linker Version 6.70
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday


Warning unreferenced functions removed:
	 FCD_LCDDisplay1_GetDefines	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay1_Clear	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay1_Command	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay1_RawSend	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_KeyPad0_GetKeypadNumber	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_I2C0_GetDefines	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_I2C0_MI2C_Restart	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_I2C0_MI2C_Receive_Byte	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_PWM0_Disable	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_PWM0_ChangePeriod	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay2_GetDefines	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay2_Clear	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay2_Command	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay2_RawSend	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 FCD_LCDDisplay2_PrintNumber	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 LCD_918116_Dummy_Function	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 CUSTOM_Dummy_Function	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c
	 LCD_590426_Dummy_Function	 in: C:\Documents and Settings\Michael\My Documents\Mytek Controls Projects\Heat Load Controller\Rack Mount System\FlowCode\RLC_beta1.c

Building CASM file

Memory Usage Report
===================
RAM available:368 bytes, used:103 bytes (28.0%), free:265 bytes (72.0%), 
Heap size:265 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:3141 words (38.4%), free:5051 words (61.6%)


success
Any ideas as to what this means, and can I simply ignore the warnings?

I am running version 3.22 on an XP Home machine with the latest windows updates.
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: Strange warnings when compiling

Post by Sean »

Yes, you can ignore the warnings headed with 'Warning unreferenced functions removed:'.

Each component loaded onto a Flowcode flowchart provides the resulting program with a complete set of its functions.

When the program is compiled it is analised by an optimiser that removes any functions that were loaded but not used. Most Flowcode progams will generate several of these warnings.

The resulting code receives further adjustments to improve efficiency before the final .asm and .hex files are generated.

The warnings would be a possible source of debugging information for a faulty program if a function you knew to be required appeared in the list.

User avatar
mytekcontrols
Posts: 95
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 4 times
Been thanked: 7 times
Contact:

Re: Strange warnings when compiling

Post by mytekcontrols »

Cool 8)
Thanks for the quick answer Sean.

I was hoping that it was unimportant, and you confirmed it.
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

Post Reply