ARM Technical Support Knowledge Articles

WARNING L25 (DATA TYPES DIFFERENT)

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


SYMPTOM

The LX51 linker outputs;

*** WARNING L25: DATA TYPES DIFFERENT
    SYMBOL:  _mySymbol
    MODULE:  Mod1.obj (MOD1)
   DEFINED:  Mod2.obj (MOD2)

CAUSE

This error indicates an inconsistency between the definition of a function and an external reference to that function. The problem may be caused by the function prototype used by the external call or may be caused by parameters passed to the function that do not match the prototype.

RESOLUTION

Examine the code in question and make sure that all parameters (including the return value) are of the same data type. Be certain to check the following:

MORE INFORMATION

Article last edited on: 2006-10-23 16:13:07

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential