Keil Logo

L251: WARNING L16 (UNCALLED FUNCTION)


Information in this article applies to:

  • C251 Version 2.14

SYMPTOMS

When I compile and link the following program:

void func_a (void);
void func_b (void);

void main (void)
{
while (1)
  {
  func_a ();
  func_b ();
  }
}

void func_a (void)
{
}

void func_b (void)
{
}

I receive the following linker errors:

*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS
    NAME:    func_a/TST2

*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS
    NAME:    func_b/TST2

What causes this problem and how can I correct it?

CAUSE

This problem is caused when you compile with the C251 Version 2 compiler using the ORDER directive with the compiler.

RESOLUTION

The ORDER directive causes some side-effects that are not yet corrected in C251 V2.14. To avoid this problem, discontinue use of the ORDER directive.

Last Reviewed: Tuesday, January 31, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.